With the aid of two plugins, one Actions plugin and one Object plugin, true multithreading is now available for AutoPlay Media Studio.
Until now, if you needed to run an external program and get the exit code, your AutoPlay application would need to wait until the external application ended processing. With the Multithread plugins, you can now start the external application, continue to work in your AutoPlay application, and still retrieve the exit code when the external application is terminated.
Not only can you retrieve the exit code, but you also can set a maximum amount of time for the external application to run. If the application is still executing when the time runs out, the program is terminated and a specific return code is sent to your AutoPlay application.
Although multithreading, semaphores and process synchronization is a fairly complex matter, all this is kept "under the hood". You will need to use only two actions - one for each plugin, to start and monitor external applications successfully.
Starts a new thread, creates a new process to run an executable (*.exe), and monitors its status.
You can set a timeout for the external application, preventing it from running longer as desired, if needed.
Advertises the object to the Multithread actions plugin (MTActions). Must be called in the On Show script of your Page or DialogEx, as well as when you return from a DialogEx back to a page. This is needed to let the MTActions plugin know to which control notification messages about the threads should be sent.
The object plugin fires events when processes are created or terminated, so you don't have to block the user interface of your AutoPlay application while the external program is running.
You will receive the process id, which can be used to locate the application window of the external application, and control the behavior (minimize, maximize, hide).
These plugins will work fully for 14 days. After this evaluation period, or if you are using the software as part of an application sold or given to others, you will need to purchase a license. Please use the form below to send your hardware key. The cost for this plugin bundle is US$ 16.50.
Don't have AutoPlay Media Studio?
If you want to purchase a license for AutoPlay Media Studio 8, now is a good time! For a limited period, you can get 10% off the list price simply by clicking the banner below: