Quote:
Originally Posted by Edgemeal
Cool!
@ julian Maybe I need a break but...
JS_Window_Find(String title, Boolean exact)
Returns a HWND to the top-level window whose title matches the specified string. This function does not search child window, and is not case sensitive.
|
OMG, what a horrible error in one of the most fundamental functions' definitions!
From the very beginning, Window_Find was actually coded to "* Searches child windows as well, so that script GUIs can be found even if docked."
I wonder how other users used the function in existing scripts. Should I change the function to match the help text (and add a new FindAny function), or change the help text to match the function (and add a new FindTop function)?