Selecting 3rd item from a combobox in a programme

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
JKnight_xbt33
Posts: 135
Joined: 18 Sep 2019, 02:06

Selecting 3rd item from a combobox in a programme

03 Jan 2020, 08:00

Hi All,
I use a programme called Q-pulse.

I want to select the 3rd drop down item Email from the drop-down which says source of complaint.
dropdown 1.PNG
dropdown 1.PNG (34.15 KiB) Viewed 663 times
dropdown 2.PNG
dropdown 2.PNG (44.1 KiB) Viewed 664 times
I read up control command: https://www.autohotkey.com/docs/commands/Control.htm
I also read up a thread suggestion: https://autohotkey.com/board/topic/121353-combobox-issues-cant-select-an-item/

No luck after trying thread suggestion's final answer out :cry: Do I need to include AHK class or detecting hidden windows? :think:

This is the code

Code: Select all

Control, ShowDropDown,, WindowsForms10.EDIT.app.0.2eed1ca_r9_ad17 , <Assigned On Save> -  - Occurrence Details - Q-Pulse ; Opens dropdown list
Control, Choose, 3, WindowsForms10.EDIT.app.0.2eed1ca_r9_ad17, <Assigned On Save> -  - Occurrence Details - Q-Pulse    ; Selects option 3
ControlSend, WindowsForms10.EDIT.app.0.2eed1ca_r9_ad17, {Enter}, <Assigned On Save> -  - Occurrence Details - Q-Pulse   ; Enter
Control, HideDropDown,, WindowsForms10.EDIT.app.0.2eed1ca_r9_ad17, <Assigned On Save> -  - Occurrence Details - Q-Pulse ; Closes dropdown list	
This is the windowspy info when i click in that field
window spy info.PNG
window spy info.PNG (51.65 KiB) Viewed 664 times

Thanks
J

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Cerulium, Draken, Tvlao and 134 guests