After pushing this button once, and then pushing it again, i want the code to rerun. But after its pushed once it cant be pushed again until the code has run all the way through. How do i get it to rerun when its pushed multiple times without waiting for the rest of the code to finish?
Code:
!r::
Gui, Show, Options X5 Y5 W500 H200, Somename,
Gui, Add, Button, X445 Y5 W50 H30, Run
Return
ButtonRun:
IfExist C:\Users\%A_UserName%\Desktop\Someprogram.exe
Run, C:\Users\%A_UserName%\Desktop\Someprogram.exe
And seriously, i know theirs a quick fix to this to this so please answer with some kind of help.[/code]