Jump to content
Sign in to follow this  
gzken

Could send key functions work normally in background?

Recommended Posts

gzken

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?

Share this post


Link to post
Share on other sites
Nahuel

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.

Share this post


Link to post
Share on other sites
gzken

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.