Cant get app's individual Sliders/Checkboxes classnn

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
asdgh8
Posts: 2
Joined: 21 Sep 2018, 07:53

Cant get app's individual Sliders/Checkboxes classnn

15 Dec 2018, 03:47

hi, im trying to get classnn or any way of referencing specific sliders/checkboxes in an app's window but Window Spy only shows classnn Qt5QWindowIcon1 and Text: is the same no matter where i click/hover in the whole window where the sliders and checkboxes are.

mousegetpos control hwnd/classnn also doesnt change across the whole section
ControlGetFocus returns empty
Winget controllist returns empty for that classnn, i guess that only works on non-controls

I guess i somehow need to list the children of the classnn Qt5QWindowIcon1 or a way to search that section for the text labels of the sliders/checkboxes (they have names in the app's window, but window spy doesnt recognize them).
Tried controlget and put the checkbox's text label instead of the control parameter and check for checked status but that returns empty.
ControlGet doesnt seem to have a way to list children.

so i would like to ask whether i missed something before i resort to some juicy imagesearch workarounds
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Cant get app's individual Sliders/Checkboxes classnn

16 Dec 2018, 01:09

Have a look at Acc perhaps. Cheers.
jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=40590
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], robinson and 159 guests