Quote:
Originally Posted by _dave_
maybe administrator rights for the script and target of clicks? something missing though, it should work anywhere.
Hmm, I made sure to run the script as administrator, but it's still not working. Here's what I have:
Code:
;Juks rocks
PostLeftClick(x, y, ID)
{
; ### JUK: Send the down left click, then the mouse-up messages.
; NOTE: This is relative to the top left of the client area and NOT the top left of the
; window (ie: It *doesn't* include the title-bar like AHK's MouseClick does!!!).
global border
global caption
x := x-border
y := y - border - caption
PostMessage, 0x201, 0x0001, ((y<<16)^x), , ahk_id%ID%
PostMessage, 0x202 , 0, ((y<<16)^x), , ahk_id%ID%
}