do you want something like this?:
Code: Select all
CapsLock::SetTimer, CapsLock Up,% (CL:=!CL)?50:"Off" ;toggles: every 50 ms/off
CapsLock Up::SendInput,% CL?"{4}{Click}": ;types 4 and then clicks left
Code: Select all
CapsLock::SetTimer, CapsLock Up,% (CL:=!CL)?50:"Off" ;toggles: every 50 ms/off
CapsLock Up::SendInput,% CL?"{4}{Click}": ;types 4 and then clicks left
Code: Select all
*CapsLock::SetTimer, CapsLock Up,% (CL:=!CL)?30:"Off" ;toggles: every 30 ms/off
*CapsLock Up::SendInput,% CL?"{4}": ;types 4 and then clicks left
Code: Select all
*CapsLock::SetTimer, vk-1,% (CL:=!CL)?30:"Off" ;4 every 30 ms
vk-1::SendInput, 4
*CapsLock Up::SetTimer, vk-2,% CL?100:"Off" ;Click every 100 ms
vk-2::Click
Users browsing this forum: No registered users and 104 guests