Jump to content
Sign in to follow this  

Running AutoIt in the background?

Recommended Posts



I just started learning AutoIt and was wondering how to be able to make a script run in the background and then run when a certain window pops up?

For instance, if I wanted to close an unwanted popup automatically every-time it came up?

How do I do this without running the script manually every-time?

Thank you!

Edited by metny

Share this post

Link to post
Share on other sites

you could make a script similar to the one below and then place it in @startupdir.

While 1
    MsgBox(0,"Test","Calculator is active.")

Edit:Made code more clear.

Edited by SolidSnake

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

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.