The code sometimes gives error: Target Window not found.
I checked the documentation, but failed to find related information.
When does this error happen? How do I deal with it? Is it documented anywhere?
I'm using Autohotkey v2 a112.
Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
4 posts • Page 1 of 1
I think the documentation is just not up to-date and that this is the expected behaviour. Use try or winexist.
This occurs when there is no active window (or the active window is not "found" because DetectHiddenWindows is false).
Who is online
Users browsing this forum: No registered users and 2 guests