How do I run scripts from a single "master" script

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
flavius_melb
Newbie
Posts: 3
Joined: Mon Aug 29, 2011 5:50 am
Location: Melbourne, Australia

How do I run scripts from a single "master" script

Post by flavius_melb » Mon Aug 29, 2011 6:01 am

I used to be able to do this in the past but since it's been a while since I was last here, how can I setup a "master" script that will be the control script for other sub scripts?

eg. I want to load a x server app, then get the login details from an ini file and then send those details ...

is it:

exe>script1
exe>script2
exe>script3

Thanks,
Rob

----

Funny how the mind works ... I worked it out ... use the "macro>" command.

:)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 30, 2011 7:38 am

Look at the Macro and Include commands. E.g.:

Macro>%SCRIPT_DIR%\script1.scp
Macro>%SCRIPT_DIR%\script2.scp
etc
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts