Sign in to follow this  
Followers 0
wpanther93

Running Scripts Simultaneously

4 posts in this topic

So I've figured out most everything I need in autoit, but I have a question. I'm trying to make a program that scans the screen for change in color and takes appropriate action. I have this working.

What I want to know is if I can run other scripts without interrupting this one. Can I have a separate script and just call it from the main one?

Any help would be appreciated.

Share this post


Link to post
Share on other sites



Each script will run separately, I'm not sure if they are separate instances or just separate threads, but they only time when I've had problems running multiple scripts is when they try to take control of the same thing, at the same time.


#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Share this post


Link to post
Share on other sites

Can I have a separate script and just call it from the main one?

Yes no problem. Search the help for "running scripts".


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Thanks a lot guys. Good and quick information as always.

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