Jump to content

Recommended Posts

  • Moderators
Posted (edited)

Okay, everytime I try to use ControlCommand it never works. This is what I'm trying to use:

ControlCommand("Configure PC5250", "", "ComboBox2", "SetCurrentSelection", "27x132")

and 

ControlCommand("Window Setup", "", "Button13", "UnCheck", "")

Neither one of them do what they should. I'm pretty sure I have the syntax right? If anyone could help me out here I'd really appreciate it.

Edited by big_daddy
  • Moderators
Posted

They look right to me... Are the windows your trying to use them on accepting any other control commands ie... ControlClick() / Focus() / etc... ?

Are those the 'Full' Titles of the windows your trying to act in?

Every time I play with ControlCommand(), I have to be totally specific, or it fails.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

  • Moderators
Posted

They look right to me... Are the windows your trying to use them on accepting any other control commands ie... ControlClick() / Focus() / etc... ?

Well this works:

ControlClick ("Configure PC5250", "", "Button17")

On the same window I'm trying to use this on:

ControlCommand("Configure PC5250", "", "ComboBox2", "SetCurrentSelection", "27x132")

Are those the 'Full' Titles of the windows your trying to act in?

Yes those are the full titles.

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...