Jump to content

Recommended Posts

Posted

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!

  • Developers
Posted

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.

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.
  :)

  • 2 weeks later...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...