wonder if this would work better HotKeySet("{^!x}", "Terminate") i think this would be ctrl+alt+x? $counter=1 While $counter<=50 MouseClick("Right",674,422) sleep(5000) MouseClick("Right",673,447) sleep(5000) MouseClick("Right",675,339) sleep(180000) $counter=$counter+1 WEnd Func Terminate() Exit 0 EndFunc