Get Position of Focus Topic is solved

Get help with using AutoHotkey and its commands and hotkeys

Get Position of Focus  Topic is solved

14 Jul 2018, 08:15

Hello! I use this code to get the focus into a control:

Code: Select all

Sleep 200
ControlFocus, ListView20WndClass2, Boston
ControlGetFocus, E_Focus, Boston
if E_Focus = ListView20WndClass2
Which is a list that I can navigate with arrow keys. Unfortunately I also need the script to double click on the entry I navigate to, and since many people will be using this script with different monitor resolutions I really want to avoid using "click x y". Is there any way for autohotkey to return the position of the current focus?

Thanks! :)

Return to “Ask For Help”

Who is online

Users browsing this forum: teadrinker and 150 guests