WinWaitActive, Diablo III,
MouseClick, right, 1696, 639
Sleep, 100
MouseClick, right, 1752, 639
Sleep, 100
MouseClick, right, 1796, 628
Sleep, 100
MouseClick, right, 1811, 698
Sleep, 100
MouseClick, right, 1801, 751
Sleep, 100
MouseClick, right, 1757, 724
Sleep, 100
MouseClick, right, 1705, 727
Sleep, 100
MouseClick, right, 1659, 729
Sleep, 100
MouseClick, right, 1701, 807
Sleep, 100
MouseClick, right, 1746, 828
Sleep, 100
MouseClick, right, 1791, 795
Sleep, 100
Send, {ALTDOWN}
MouseClick, right, 1794, 849
Sleep, 100
Send, {ALTUP}Basically this is all the script, the only way i found it to work is if i start the Script directly from desktop, it switches flawlessy, just the way i wanted, however the problem is, that i would like to bind all of those actions to a 1 button, rather than script only working when starting the program, i would like the script to be tooglable by 1 button, what kinda code should i input? Thank you for help, beforehand.




