I found this thinking if the word 'content' was typed in that the msgbox would display Hello World, but could not get it to work:
If (Variable = "content") msgbox Hello World
Below is how I am trying to add it to my current script. Any help is much appreciated.
Code: Select all
If (Variable = "runscript") then loop 70 else return
{
random, delay1, 1200, 1250
random, delay2, 6000, 8000
send, {4}
send, {w down}
Sleep %delay1%
Send, {w up}
send, {4}
sleep, %delay2%
}
Esc::ExitApp
return