Public-AutoHotKey-Scripts
Public-AutoHotKey-Scripts copied to clipboard
contiuity erros with function: gui_search()
I've found a bug with the function gui_search().
If you cancel a command that uses this function, after the GoSub command "gui_search_add_elements" finds a match, then the variable "search_urls" is not cleared.
Because of this, when you then use the function once again, it will run the cancelled command aswell as the new command that you launched.
I've solved it for my part by making the script clear the variable when the GuiEscape GoSub is called.
Here is the code:
GuiEscape:
gui_destroy()
search_urls := 0
return
This solution seems not to work (anymore). The issue should be fixed with my pull request.