ControlShowDropDown (and probably ControlHideDropDown) not working.
Issue #61
closed
Issue:
ControlShowDropDown does not work in test code below. It is suspected that this affects ControlHideDropDown as well.
steps to duplicate
Run code below.
Send("#r") ; Open the Run dialog.
WinWaitActive("ahk_class #32770") ; Wait for the dialog to appear.
ControlShowDropDown("ComboBox1") ; Show the drop-down list. The second parameter is omitted so that the last found window is used.
Sleep(2000)
ControlHideDropDown("ComboBox1") ; Hide the drop-down list.
Sleep(1000)
Send("{Esc}") ; Close the Run dialog.
Comments (5)
-
reporter -
repo owner I reworked the WinWait*() functions. This now works on my end. Please test.
-
reporter Fixed, thank you! Marking resolved and closed.
-
reporter - changed status to resolved
Resolved
-
reporter - changed status to closed
closed
- Log in to comment
Additionally, Keysharp must be killed manually (can’t exit from tray icon).