Jump to content

Launching AutoIT app with AutoIT app


 Share

Recommended Posts

I have 2 AutoIT apps. I want the first app, with a GUI, to launch the second app. When the first app closes, I want to terminate the second app. BTW, the second app does not have a GUI. I searched for answers to this question, but did not find what I'm looking for.

Can anyone point me to a thread that discusses this topic or suggestions on how to monitor the second app so I know what to close?

Link to comment
Share on other sites

You could try FileInstall to get the second script to be a part of the first and then control it with a HotKeySet.

When you close the main the the second dies as well.

Unless I misunderstand....:(

Link to comment
Share on other sites

The second application is a polling app. Since AutoIT is not multi-threaded, I'm looking for a poor-man's way of polling without bogging down my main app.

Snowmaker, the on exit function could terminate the second app, if I can track a process id or something when the first app launches it.

Link to comment
Share on other sites

  • Developers

. BTW, the second app does not have a GUI. I searched for answers to this question, but did not find what I'm looking for.

All Autoit3 scripts have a GUI.

Look at: AutoItWinSetTitle()

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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...