Dropdown Checkbox in WPF/WindowsForms

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
RNDLDVL
Posts: 15
Joined: 04 Oct 2015, 10:48

Dropdown Checkbox in WPF/WindowsForms

06 Nov 2016, 08:03

Good day, after much time fiddling around with different "Control" functions, the best I could do in changing the selection of a dropdown checkbox of a different program; is to send a click to the control, set input focus on it and send keystrokes. The method is quite unreliable and the control has over 70 options, I was hoping to make a simple presets script that would avoid the pain of toggling multiple items on and off.

Code: Select all

ControlClick, WindowsForms10.COMBOBOX.app.0.378734a9, ahk_class WindowsForms10.Window.8.app.0.378734a, , LEFT, 1, D
ControlFocus, WindowsForms10.COMBOBOX.app.0.378734a9, ahk_class WindowsForms10.Window.8.app.0.378734a
Send, ^{home}{space 2}ss{Up}{Space}v{right}{space} ;just a sample
I was hoping there was a better and more reliable way of doing this.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 373 guests