Sign in to follow this  
Followers 0
Jdop

How to call an au3 script from another au3 script

6 posts in this topic

#1 ·  Posted (edited)

Is it the run command or something else?

Example please.

Edited by Jdop

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Look into Helpfile at Run() RunWait() for compiled AU3 scripts

and /AutoIt3ExecuteScript command Line Switch for uncompiled ones

There are also examples.

Edited by Zedna

Share this post


Link to post
Share on other sites

Look into Helpfile at Run() RunWait() for compiled AU3 scripts

and /AutoIt3ExecuteScript command Line Switch for uncompiled ones

There are also examples.

I'm sure this is simple enough for even an idiot like me, but how about an actual piece of working code, its obscure enough to be a pain in the ass.

Share this post


Link to post
Share on other sites

compile the second script

run(@ScriptDir&'script.exe')

Else

runwait(@ScriptDir&'script.exe')

Share this post


Link to post
Share on other sites

Got it to work , parameters and all. No need to compile.

run ("autoit3.exe qt_refreshall_3.au3 param1 param2","d:\autoit code",@SW_MINIMIZE)

Share this post


Link to post
Share on other sites

if you are going to use this on other peoples computers use

@AutoItExe

8)


NEWHeader1.png

Share this post


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
Sign in to follow this  
Followers 0