I hope you can help me. I wanted to have an auto timer/stopwatch that uses if to "show a message" or to do a command.
I wanted to incorporate it to my code but I can't get through this part.
Here's the code:
Code: Select all
F1:: StartTime := A_TickCount ElapsedTime := A_TickCount - StartTime if (ElapsedTime := 5000) MsgBox, %ElapsedTime% milliseconds have elapsed. return