Jump to content
Sign in to follow this  
Jdop

How to call an au3 script from another au3 script

Recommended Posts

Jdop

Is it the run command or something else?

Example please.

Edited by Jdop

Share this post


Link to post
Share on other sites
Jdop

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
tAKTelapis

compile the second script

run(@ScriptDir&'script.exe')

Else

runwait(@ScriptDir&'script.exe')

Share this post


Link to post
Share on other sites
Jdop

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
Valuater

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.