now what I'm trying to do is add another button to this script, so i have to press both buttons for it to perform the same task.
So i'll have to press the left mouse button and another at the same time for it to work.
Many thanks
Code: Select all
Insert:: Hotkey, *~$LButton, Toggle
*~$LButton::
while GetKeyState("LButton")
{
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 0
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 5
}