Elku Posted April 16, 2011 Posted April 16, 2011 Hi, Basically, I am trying to create a small script that will send one string of text to a minimized window. I've done this before on another software, and it worked great, but for this one, nothing happens unless I have the windows currently active. ControlSend won't send the string in any other windows, which is great, but it also won't do anything unless I have the window active, and I simply don't get it. When using controlsend, in the first parameter I entered the exact name as it shows up in the task manager. For the test parameter I entered nothing (""). For the controlID parameter I entered the same "" (As far as I can tell, there is no controlID that I can retreive from the AU Window Info tool.). I then entered my string and for the last one, I set it to default. Thanks.
AdmiralAlkex Posted April 16, 2011 Posted April 16, 2011 As Melba said in the other thread=...As for the ControlSend problem, some apps need to be the active window before the Control* functions work - and some controls even need focus. I fear your app is one of those. M23 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
JohnOne Posted April 16, 2011 Posted April 16, 2011 Some controls are designed to resist automation. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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