Sign in to follow this  
Followers 0
ngonep

Send a script to inactive window

3 posts in this topic

Hi guys!

I want to send this script

////////////////

send("{s down}")

send("{e down}")

Mousedown("left")

/////////////////

to inactive window.

Plz help me.

Thank for your attention!

Share this post


Link to post
Share on other sites



Hi, ngonep, welcome to the forum. A couple of options: If the window is simply not the active window, you can use WinActivate. If you'd like the window to be concealed, you can use ControlSend. You should be able to find examples of both of these in the Help File.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thx for your help. But i can't use controlsend to do this.

Because with ////Mousedown("left")///, controlclick only send some click but not hold down the button.

and //// send("{s down}")///// difference with //////// while ... send("s").... wend/////////

Edited by ngonep

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  
Followers 0