Jump to content

Recommended Posts

Posted

To select specific combobox item in IE, I tried this below.

ControlClick("::: BLAH ::: -","","[CLASS:Internet Explorer_Server;INSTANCE:1]","left",1,434,149)

ControlSend("::: BLAH ::: -","","[CLASS:Internet Explorer_TridentCmboBx;INSTANCE:3]","{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}")

also I wondered this is right way to select specific combobox. cause it seems really terrible.

anyways it didn't work and still don't know why. it just appears that first item in combobox was selected.

Im gonna so glad if anyone can tell me how to do it.

any response is welcome.

Posted

To select specific combobox item in IE, I tried this below.

ControlClick("::: BLAH ::: -","","[CLASS:Internet Explorer_Server;INSTANCE:1]","left",1,434,149)

ControlSend("::: BLAH ::: -","","[CLASS:Internet Explorer_TridentCmboBx;INSTANCE:3]","{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}")

also I wondered this is right way to select specific combobox. cause it seems really terrible.

anyways it didn't work and still don't know why. it just appears that first item in combobox was selected.

Im gonna so glad if anyone can tell me how to do it.

any response is welcome.

That first one is either an IE window or an embedded IE control. I'm not sure about the second, but if it is an HTML document element then you should be using _IEFormElementOptionselect() on it (see help file).

:P

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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
×
×
  • Create New...