Created
April 26, 2016 07:42
-
-
Save TLMcode/d321dc535b8a9fe02959865a96976c86 to your computer and use it in GitHub Desktop.
ClickCoords() full click sequence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClickCoords( x, y, wT, ctrl = "", btn := "left" ) | |
{ | |
For Each, Msg in ( btn = "left" ? ( l := [ 1, 0, 2 ] ) : btn = "right" ? [ 4, 0, 5 ] : l ) | |
PostMessage, % 0x20 Msg, 0x1, % x|y<<16, % ctrl, % wT | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment