paperlined.org
apps > autohotkey
document updated 16 years ago, on Apr 29, 2008

How do I detect a double-click?
There is no built-in way to do this, even for the standard left-mouse double-click. However, there are several ways of detecting it via snippets of code.
How do I find out the command that started a process?
GetModuleFileNameEx (example usages)
The classname is randomized, and changes every time the app restarts. How do I locate the control I want to target?
Several ways:
How do I change the mouse cursor, for instance, to an hourglass, or a hand? How do I hide it?
To change the cursor, just use LoadCursor/SetSystemCursor DLL calls. However, that only changes the cursor while the mouse is hovering over a specific window. Supposedly SetClassLong (or SetClassLongPtr?) is able to change the mouse cursor globally.

To hide the cursor, see "SystemCursor()" here.