Jump to content

Recommended Posts

Posted (edited)

In Windows XP, control commands like ControlSend() would work without having the controlID as a parameter.

in example: ControlSend("my application","","","this is a test") would "work" in which it would send the string "this is a test" to my application with the window title "my application".

In Windows XP, I would often leave the controlID out as a paramter in the case there isn't a controlID (or that I cant find it). However, now that I have made the switch to Vista, the above command would no longer work - it seems that the controlID is a neccessary parameter now. Is there any way I bypass this? Perhaps through some OS security settings? Or is there a way to set a controlID to an application (I'm assuming the there isn't a controlID for my application, as AutoIt Window Info doesn't list a ControlID for my application).

EDIT: Oh, and to add more information to help troubleshoot my problem. I have tried both autoit 3.2.0.1 and 3.2.2.0. I have also tried compiling the script and running it as an administrator.

Edited by aliuy

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