How can I also make it release the ctrl button and send it up once I click the left mouse button?
I tried making it work but it wouldn't release the ctrl button can someone show the command line to release the ctrl button upon clicking the mouse while inside the script?
(Might not even be correct lol but it works to hold down lbutton.)
Code: Select all
send {ctrl down}
Send % (toggle := !toggle)
? "{LButton Down}"
: "{LButton Up}"
If (GetKeyState("lbutton", "P"))
{
send, {LButton Down}
}
else
send, {lbutton down}