Arjun Kaur was a third-year computer science student who hated tedium more than he hated bugs in his code. His university’s online portal, "Sensus," required students to complete mandatory "interactive learning modules." These were twenty-slide PowerPoint-like presentations with a single, insulting multiple-choice question at the end. The catch? You couldn't tab out. The window had to be active. And every 45 seconds, a tiny pop-up would appear: "Are you still watching?"
For eight hours a week, Arjun was a prisoner of his own screen.
One sleepless Tuesday, he decided to automate his freedom. He wasn't building a virus or a hacker tool. He just wanted his time back. He opened Visual Studio and began coding a utility that would eventually consume him.
He called it Phantom v0.1.
#Persistent SetTimer, ClickInBackground, 5000 ; every 5 seconds
ClickInBackground: ControlClick, X100 Y200, ahk_class Notepad ; clicks inside Notepad even if minimized returnautomatic mouse and keyboard background click portable
Save as background_click.ahk, run with portable AutoHotkey.exe.
Let’s break the keyword down into its three core components:
Carrying your automation tool on a USB drive offers several advantages: The Ghost in the Machine Arjun Kaur was
At 6 AM, Arjun heard the knock. Three hard raps. He opened the door to two agents in plain clothes.
"Arjun Kaur? We have a warrant for the seizure of all digital devices related to the development of a tool known as 'Phantom Portable.'"
In the interrogation room, they laid it out. He wasn't being charged with creating the tool—automation software is legal. He was being charged with "aiding and abetting computer fraud" because he had specifically coded a feature to bypass "Are you still watching?" timers and had written a help file that said, "To avoid detection, run Phantom on a separate virtual desktop."
That, they argued, was evidence of intent to facilitate unauthorized access. Save as background_click
He spent 14 months on house arrest and paid a $40,000 fine. The university expelled him six months before graduation.
hwnd = win32gui.FindWindow(None, "Notepad") send_background_click(hwnd, 50, 50)
Limitations: Fails on DirectX games, Chromium-based browsers (they use GPU process input routing).
"I want my clicks to happen automatically, without interfering with what I’m doing."
If you’ve searched for “automatic mouse and keyboard background click portable”, you’re likely looking for a lightweight, no-install tool that can simulate input while you focus on other apps.
Let’s break down what that means, when it’s useful, and what you should watch out for.