Bug Report: F5 hotkey for Reload not working (sometimes)
Posted: 30 Jun 2017, 13:12
Hi
In SciTE4AutoHotkey, I added the following line to my script:
As a result, when I click the Run script button or press the F5 hotkey in SciTE4AutoHotkey, the old instance of my script is replaced with a new instance without prompting me. Nice.
The problem: While clicking on the Run script button always does the job, pressing the F5 hotkey only sometimes works. In other words, pressing the F5 hotkey doesn't reload the script about 40% of the time.
It is worth mentioning that this problem only occurs when the directive is added to the script. When not, pressing the F5 hotkey always works (prompts me if I want to have the new instance replace the old one).
Any comments?
Thanks.
In SciTE4AutoHotkey, I added the following line to my script:
Code: Select all
#SingleInstance Force ; When reloading the script, skips the dialog box and replaces the old instance automatically, which is similar in effect to the Reload command.
The problem: While clicking on the Run script button always does the job, pressing the F5 hotkey only sometimes works. In other words, pressing the F5 hotkey doesn't reload the script about 40% of the time.
It is worth mentioning that this problem only occurs when the
Code: Select all
#SingleInstance Force
Any comments?
Thanks.