wpanther93 0 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. Share this post Link to post Share on other sites
Fulano 1 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! Share this post Link to post Share on other sites
martin 85 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. Share this post Link to post Share on other sites
wpanther93 0 Posted April 14, 2010 Thanks a lot guys. Good and quick information as always. Share this post Link to post Share on other sites