Jump to content

Not possible to launch a script from within a script?


 Share

Recommended Posts

Simply more advantages to not compiling.

The AutoItExe macro uses the AutoIt that started your initial script.

Example:

RunWait(@AutoItExe & ' "' & @ScriptDir & '\Script.au3"')

That's great. Works. But there are two autoit.exe's running now. How can I kill the initial script without killing the second one?

RunWait(@AutoItExe & ' "' & @ScriptDir & '\MouseClick.au3"')

sleep (3000)

ProcessClose("AutoIt3.exe")

Doesn't work.

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