Hi!
How to achieve that some actions are done (e.g. deleting a file) every time the script is exited by Reload (Reload command or Reload from tray menu) (and maybe other actions are done if the script is exited by other reasons)?
Reload with some previous actions Topic is solved
-
- Posts: 493
- Joined: 24 Aug 2016, 03:34
Re: Reload with some previous actions Topic is solved
https://www.autohotkey.com/docs/commands/OnExit.htm#ExitReason
or
Code: Select all
onexit("exitfunc")
exitfunc(reason, code) {
if (reason == "Reload")
; something
}
Code: Select all
exitfunc() {
if (a_exitreason == "Reload")
; something
}
-
- Posts: 493
- Joined: 24 Aug 2016, 03:34
Re: Reload with some previous actions
You are a schatz, swagfag!
Who is online
Users browsing this forum: No registered users and 167 guests