wpanther93 Posted April 13, 2010 Share Posted April 13, 2010 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. Link to comment Share on other sites More sharing options...
Fulano Posted April 13, 2010 Share Posted April 13, 2010 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! Link to comment Share on other sites More sharing options...
martin Posted April 13, 2010 Share Posted April 13, 2010 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. Link to comment Share on other sites More sharing options...
wpanther93 Posted April 14, 2010 Author Share Posted April 14, 2010 Thanks a lot guys. Good and quick information as always. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now