So I put this code into the QuickCodeEditor.
Try it!
When I push run, it activates the window, then returns focus to QuickCodeEditor. It shouldn't do that.
And it doesn't seem to send double-click.
It seems like it activates the window and clicks once (I think).
Anyway, I can't get this to work. What can I do?
The ahk_id is of a Notepad3 window.
Code: Select all
;setdefaultmousespeed 1 ;I tried this but it doesn't make any difference
winactivate ahk_id 0x131d7a
;click,2
sendevent {click 2}