I recently figured out how to set a variable to the size of the front window and successfully used it within an If Then Else macro as a condition for a Move and Click mouse action. I’ve come to realize that the window in question can actually be one of many fixed sizes (some 16 potential sizes). The window is not resizable, per se. If certain elements are selected, it dynamically changes the size of the window and it has no resizing controls. Most importantly, if the window is 990 points wide, nothing needs to be done except a click to yield the final result of the mouse click on a particular screen coordinate. If the window is 664 points wide, a simple f1 keystroke displays the necessary elements to bring the window to 990 points wide and the click is performed. If the window is 649 points wide, a strategic mouse click gets it to 664 points and then the f1 keystroke and so on.
So, what I’m trying to figure out is how to set a variable to the front window’s width rather than its size because, with window size, I have so many potentials whereas, with width, there are only 3 potential widths. I’ve poked around and did some searching but I haven’t seen anything that seemed to apply.
As mentioned in the topic, I’m a blind user and new to this forum. Navigating it is still new to me so I hope I can navigate my way back to check for responses. I know other blind users who seem to have negotiated the forum without too much difficulty so we’ll see… so to speak
Thanks for any help.