Recently, I came across a few more issues and thought I'll ask the ones that are "important enough".
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
If an AHK script has multiple instances with GUIs open, reloading script will reload the most recently opened GUI and not the one where the reload took place.
The following simple script demonstrates what I mean. Run the script a few times.
Code: Select all
#SingleInstance, off
Gui, Add, Button,, Reload
Gui, Show, w200,
Return
ButtonReload:
Reload
instead of using Reload, the simplest solution that I found is:
Code: Select all
Run % A_ScriptFullPath
ExitApp