Jump to content

Recommended Posts

Compile SomeScript to exe and ShellExecute("SomeScript.exe").  If opening a script also executes it on your machine may be able to use ShellExecute("SomeScript.au3").

Run("SomeScript.exe") probably works too.

If you need inter-process communication you can read from: stdout using $pid returned from Run()

Edited by Xandy
Link to post
Share on other sites


The scripts do not have to be compiled although they certainly can be.  Script 1 calls script 2 below...

; script 1

#include <MsgBoxConstants.au3>

msgbox($mb_ok,'Script 1',"Hi, I'm script 1" & @crlf & 'Hit Enter to call script 2')

ShellExecute('C:\Users\Tom\Documents\AI Help Scripts\script 2.au3')


; script 2

#include <MsgBoxConstants.au3>

msgbox($mb_ok,'Script 2',"Hi, I'm script 2")

There are other ways to do this also.  All of them described in the Help file.


Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...