Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^!End::
- Critical
- SetTimer no2reload, 1
- title := "Exit, Reload or Cancel?"
- MsgBox % 0x3|0x20|0x200|0x40000, % title, Do you want to Exit the script?.
- IfMsgBox No ; relabeled as "Reload"
- Reload
- IfMsgBox Yes
- ExitApp
- no2reload:
- if !WinExist(title)
- return
- SetTimer no2reload, Delete
- WinActivate
- ControlSetText, Button2, &Reload
- ControlSetText, Button3, &Cancel
- return
Add Comment
Please, Sign In to add comment