Mellowz Posted April 25, 2007 Share Posted April 25, 2007 In Visual Basic there is a command called ListIndex, which returns the number of the selected dropdown item. Is there a command similiar in AutoIt? Link to comment Share on other sites More sharing options...
MHz Posted April 25, 2007 Share Posted April 25, 2007 If this is for automation, then look at ControlCommand in the help file. Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted April 25, 2007 Share Posted April 25, 2007 In Visual Basic there is a command called ListIndex, which returns the number of the selected dropdown item. Is there a command similiar in AutoIt?look at _GUICtrlListSelectedIndex() Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
xcal Posted April 25, 2007 Share Posted April 25, 2007 What kind of "dropdown" are you referring to? Menu? Combo? Etc? How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
sumanroy Posted April 25, 2007 Share Posted April 25, 2007 look at _GUICtrlListSelectedIndex() Hi try use this command ControlCommand ( "title", "text", controlID, "command" [, "option"] ) get the control id of your button and put action to perform on command ex: "ShowDropDown" Regards Suman Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now