Code: Select all
^j::
MsgBox Locking Windows in 5 min.
sleep 300000
DllCall("LockWorkStation")
return
Code: Select all
^j::
MsgBox Locking Windows in 5 min.
sleep 300000
DllCall("LockWorkStation")
return
You are 100% correct sir! Thank you! No wonder it was working before I added the msgbox and then it wasn't, I will just add a command to close the msgbox within 5 seconds of opening thank you!