Moderators big_daddy Posted December 28, 2005 Moderators Share Posted December 28, 2005 (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 December 28, 2005 by big_daddy Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 28, 2005 Moderators Share Posted December 28, 2005 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. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 28, 2005 Author Moderators Share Posted December 28, 2005 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. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 28, 2005 Author Moderators Share Posted December 28, 2005 I can use this to make it work, but thats not very fail safe: ControlSend("Configure PC5250", "", "ComboBox2", "{Down}") 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