mr-es335 Posted July 6 Posted July 6 Good day Is calling one compiled AutoIt script from another compiled script an acceptable practice? I do understand that, I need to: 1) ...ensure that the first script is properly compiled and free of syntax errors, and... 2) ...to employ RunWait so as to ensure that the main script waits for it the 2nd script to finish before continuing. As always...any assistance in this matter would be greatly appreciated! mr-es335 Sentinel Music Studios
Developers Jos Posted July 8 Developers Posted July 8 Yes... No... Maybe.... When you want a serious answer you need to ask a much more detailed question as context is totally missing as to why they are separate programs. Danyfirex 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
philpw99 Posted July 22 Posted July 22 Yes, of course calling from one AutoIt program to another is a common practice. By calling other compiled exe or a3x, you can have multi-thread capabilities. There is no need to wait for the task to finish, waiting will only make your program looked frozen. You just need to have a way of letting callee program communicate the result back to the main program. There are a few methods here tells you how to do communications between different autoit programs. mr-es335 1
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