There is the code
Code: Select all
*CapsLock::
MouseGetPos, saveX, saveY
Send, {9}
MouseMove, %saveX%, %saveY%
Sleep 50
SendInput {Click}
Return
Code: Select all
*CapsLock::
MouseGetPos, saveX, saveY
Send, {9}
MouseMove, %saveX%, %saveY%
Sleep 50
SendInput {Click}
Return
Hi, thanks for answer, i already tried it before, but doesnt works better.Rohwedder wrote: ↑05 Mar 2024, 02:14Hallo,
read https://www.autohotkey.com/docs/v1/lib/Sleep.htm#Remarks