Hi folks. I can navigate a tree of windows, but some windows always stay within
the tree, even if they have been closed in the program.
Instead of getting the window name, I want to use the handle of the current
window and check it against the handle of windows displayed in the window tree,
but as this position is not constant when looking with the BX tools, I would
like to try with some of the functions referenced in the tools.
I have been told, if a particular window is always at a given level, then I can
check the handle from the currently focused window against the window at that
known level, and know itâs that particular window, hence being able to have
it as a location for further scripts.
So, at the moment, Iâm having to get the window name first and then check it
against what window is in focus. Has anyone got any suggestions/examples on how
I can identify windows without using the get window name function?
An example would be:
Window 1 is in focus in the program.
Window 1 is showing in the windows tree and it is 10 children back from the top
level window.
If I open another window and close it, that window will stay in the windows
tree and window 1 could now be 11 children back from the top level.
So, thatâs why Iâm searching for Windows 1 in the tree with the get window
name function,as the position doesnât seem to be constant. Thatâs why I
would think the BX tools will give constant positions for these windows.
I could varrify the focused window is the same as Windows 1 in the tree with
the handle, but I wouldnât be able to determine that this window is called
âWindows1â, so I can use it for further script.
I hope you understand what is a pain to explain <grin. THx steve.
Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with
Samplitude in Windows: www.samplitudeaccess.org.uk
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts