gzken Posted October 30, 2007 Posted October 30, 2007 I programed a script and some send("KEY") functions contained in the script. This script ran normally in foreground, but no matter I use send("KEY) or ControlSend("title","text",ID,"KEY"), it didn't work normally in background... Could send key functions work normally in background?
Nahuel Posted October 30, 2007 Posted October 30, 2007 Just make sure you are using the right ID. I usually work with the ClassnameNN value. It could be many other things, like putting the wrong window title and so on... if you still can't figure it out, you should post your code.
gzken Posted October 31, 2007 Author Posted October 31, 2007 Just make sure you are using the right ID. I usually work with the ClassnameNN value. It could be many other things, like putting the wrong window title and so on... if you still can't figure it out, you should post your code.Thanks Nahuel.I have solved the problem. It's my mistake, my script hadn't open the control correctly before sent key, after fixed it, the ControlSend() run normally now. Thank you.
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