Sign in to follow this  
Followers 0
luckyb

ThunderRT6ComboBox headache

4 posts in this topic

#1 ·  Posted (edited)

Has anyone gotten autoit to work with a ThunderRT6ComboBox?

I have tried:

ControlCommand( $mp_hwnd, "", $controls[$controlIndex][1], "ShowDropDown", "")oÝ÷ Ù8Z·
+Ë(v¬ªê-'^º)'ªê-Ó~¢{[4ߧ(ÚèÝ{b²Ø^
í®H
«­¢+Ù
½¹Ñɽ±
½µµ¹ ÀÌØíµÁ}¡Ý¹°ÅÕ½ÐìÅÕ½Ðì°ÀÌØí½¹Ñɽ±ÍlÀÌØí½¹Ñɽ±%¹áulÅt°ÅÕ½Ðí¥¹MÑÉ¥¹ÅÕ½Ðì°ÅÕ½Ðíaa`aaaaaa`ÅÕ½ÐìoÝ÷ Ùu×]]u׫ë-ë^Æا¶¢fèniz·ÞrÙrnëjºEwR¶¸§«¨¶·­º¹ìÑ«­¢+Ù
½¹Ñɽ±ÑQáÐ ÀÌØíµÁ}¡Ý¹°ÅÕ½ÐìÅÕ½Ðì°ÀÌØí½¹Ñɽ±ÍlÀÌØí½¹Ñɽ±%¹áulÅt¤oÝ÷ Ù­º¹ìÑ©ÝwÚrØ"f§¹©eÊÇ¥yËl¢g­)à¢{ayÊ&nèũݶ§®éí+"¶·¬zÛ-ç(º£h¶yö®ÛÚçºÚ"µÍÛÛÛÛÛ[X[
    ÌÍÛÚÛ  ][ÝÉ][ÝË    ÌÍØÛÛÛÖÉÌÍØÛÛÛ[^VÌWK ][ÝÔÙ[XÝÝ[É][ÝË ][ÝÖ  ][ÝÊoÝ÷ ØÚ0¢¹2z+az

The window tool info follows:

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  Window Title
Class:  ThunderRT6FormDC
Size:   X: 23   Y: 101  W: 735  H: 546

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 245  Y: 194
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0xC0FFFF   Dec: 12648447

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 8    Y: 64   W: 449  H: 21
Control ID: 1
ClassNameNN:    ThunderRT6ComboBox1
Text:       
Style:      0x54010243
ExStyle:        0x00000000

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
---- SNIPPED ----

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<
---- SNIPPED ----

EDIT: made a booboo.

Edited by luckyb

Share this post


Link to post
Share on other sites



I ended up iterating through {DOWN} control sends and using string compares.

This works for all but one combobox since it runs some sort of function every time the combo box changes selection and disables the control. So I can only select the first thing.

Anyone have any other ideas?

Share this post


Link to post
Share on other sites

Hi luckyb

I've been searching for this also and haven't much luck... but I have tried this and seems to work for me.

64 is the combobox control ID

ControlFocus("myVB App","",64)

$handlerate = ControlGetHandle("myVB App","",64)

_GUICtrlComboSelectString($handlerate,-1,"Range 1")

ControlSend("myVB App","",64,"{ENTER}")

The comboselectstring() function does set the .listindex for the control, I just need to send an ENTER to the control so that the program notices a change of that control. Ie. it hasn't seen a "click" event after the ComboSelectString() function executes.

Hope this helps,

Phil.

Share this post


Link to post
Share on other sites

Hi luckyb

I've been searching for this also and haven't much luck... but I have tried this and seems to work for me.

64 is the combobox control ID

ControlFocus("myVB App","",64)

$handlerate = ControlGetHandle("myVB App","",64)

_GUICtrlComboSelectString($handlerate,-1,"Range 1")

ControlSend("myVB App","",64,"{ENTER}")

The comboselectstring() function does set the .listindex for the control, I just need to send an ENTER to the control so that the program notices a change of that control. Ie. it hasn't seen a "click" event after the ComboSelectString() function executes.

Hope this helps,

Phil.

Awesome man, thanks a lot, works fairly well (except for that one combobox with the trigger function) it seems to trigger on selection (up, down, left, right, clicks) but not enter or space. I am pretty sure it's just how the application was programed (poorly).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0