Mars Posted February 1, 2009 Posted February 1, 2009 Hello I am a bit new to Autoit coding but I am learning and doing pretty well, so far I have made a couple of very good programs. Anyway, I wanted to ask if functions run alongside with the script, or if they interupt the script and do their fuction before continuing with the main script? For example if I have a script that hits the hotkey to activate a function that lasts 5 seconds, will the main script continue running while the function is still finishing up? Thanks for the help ahead of time.
James Posted February 1, 2009 Posted February 1, 2009 AutoIt is not multi threaded therefore functions interrupt the script. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Mars Posted February 1, 2009 Author Posted February 1, 2009 AutoIt is not multi threaded therefore functions interrupt the script.Alright, thats what I wanted. Also if I make it run another autoit script they will both run at the same time right?
James Posted February 1, 2009 Posted February 1, 2009 Alright, thats what I wanted. Also if I make it run another autoit script they will both run at the same time right?If they are ran seperatley then yes. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Mars Posted February 1, 2009 Author Posted February 1, 2009 If they are ran seperatley then yes.Okay, thank you very much for the help, back to learning about GUIs.
TerarinK Posted February 2, 2009 Posted February 2, 2009 Multi-Threaded programs can be implemented into Autoit just the case where you have to do extra checks because of it. By using DLL calls you can create another threaded or multiple threads. The case where you program another script and compile it all within one script is perfectly legal and can do its job just as well just they aren't multi-threaded so you got to learn how application talks to another application. Search up "Multi Threaded Application" to get the details on threads. "Application Communication" could be another one but it is communication between two application that you are looking for 0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E
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