Jump to content
Sign in to follow this  

Combo Box Help

Recommended Posts


Hi everyone. I've just started learning AutoIt and had a question I was hoping someone could help me on. How do you get the information from a combo box?

GUICtrlCreateLabel ("Location",5,10)

GUICtrlCreateCombo ("North", 100,5,100)

$Location = GUICtrlSetData(-1,"South|East|West","N/A")


Switch $Location

Case 1

$Location = "North"

Case 2

$Location = "South"

Case 3

$Location = "Ease"

Case 4

$Location = "West"


Is this correct? Thanks.

Share this post

Link to post
Share on other sites

GUICtrlRead( )

Hope that helps. :)

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.