Jump to content

Script for specific window only


Recommended Posts

Hi,

Can any one help me, this is what i want to do, i want to run the script only in that window and that window is not active, ill be sending key strokes and a mouse click.

here is my script

$f2::
Loop
{
Send, {f2}
Sleep, 250
MouseClick, left, 406, 327
Sleep, 250

if GetKeyState("f2", "P")
break
}

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...