dinodod Posted May 17, 2007 Posted May 17, 2007 Is Autoit MultiThreaded? In other words, can i run a script on multiple PCs in parallel -vs- one at a time? Can anyone show me a sample of how if it can be done? Thanks Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007
BrettF Posted May 17, 2007 Posted May 17, 2007 I have just had a brainwave! What if... you got the time of all the computers through TCP, and then sent back the starting time to all comps?? Then set the program to start at that time? I think that would work Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
erebus Posted May 17, 2007 Posted May 17, 2007 Is Autoit MultiThreaded? In other words, can i run a script on multiple PCs in parallel -vs- one at a time?Can anyone show me a sample of how if it can be done?ThanksI think MultiThread is totally a different thing (like executing many functions in parallel on the same computer -- check http://en.wikipedia.org/wiki/Multithreading).In that way, AutoIT is not MultiThreaded. But I don't think that this is what you want. What I understand that you need, is to run multiple copies of your program on multiple computers at the same time. To achieve this, use the TCP functions so all your clients to listen for a startup signal sent from another computer and then start their job simultaneously.
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