Link to home
Start Free TrialLog in
Avatar of geokon
geokon

asked on

WHS, VBS, JS: Getting coordinates of active window and issuing mouseclick event on offset coordinate

Hello,

Is it possible to retrieve the x,y (or top, left) coordinates of an open window / program via VBS / JS / WSH?

Is it possible to send a "mouseclick" in the same way as you can send keystrokes via the Sendkeys method (WSH)?

I am interested in getting the coordinates of an open application and then send a mouseclick on some coordinates that are offset compared to the x,y / top, left coordinates of the application.

Thank you for any ideas!
ASKER CERTIFIED SOLUTION
Avatar of _lv_
_lv_
Flag of Lithuania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial