Jump to content
Sign in to follow this  
vkey

Running script in background

Recommended Posts

vkey

I have a script like this:

MouseClick("left", 1220, 10, 1, 0)
Sleep(100)
MouseClick("left", 80, 100, 1, 0)
Sleep(6000)

It's continuously performing mouse actions.

Is it possible to run this in the background, while I am using my computer as usual?

Share this post


Link to post
Share on other sites
Varian

You can use ControlClick so you steal no focus from your mouse

If you are using a game with no window title, leave the entry blank and it will click on the desktop

example:

Controlclick("", "", "", 'left', 2, 428, 18)

use AU3InfoTool to get ControlClick coordinates

Share this post


Link to post
Share on other sites
vkey

Oke, I have this at the moment:

Controlclick("Google - Windows Internet Explorer", "", "", 'left', 1, 557, 301)

For example pressing 'search' @ google.

What should I place in the empty spaces?

Share this post


Link to post
Share on other sites
vkey

I don't understand what I should look for..

Could you not give me the exact code it should be? :)

Controlclick("Google - Mozilla Firefox", "", "", 'left', 1, 557, 301)

Share this post


Link to post
Share on other sites
vkey

Is there no standard code for firefox? Cause I really do not know what to look for...

Is it a number or text or what? :)

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.