Daily Chaining Multiple Macros

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Monsanto
Newbie
Posts: 1
Joined: Tue Jul 29, 2003 6:26 am

Daily Chaining Multiple Macros

Post by Monsanto » Tue Jul 29, 2003 6:32 am

I've got a location report that requires multiple iterations of the same basic macro...slighty modified coordinates and different Username/Password. Depending on the day / occaision, some of the macros will get run individually, but I also need to run them one after the other sometimes. Rather than creating one long macro with WindowOpen WindowClosed type handling and a screen reset procedure for when one fails, I would like to call each macro in succession from a "global" macro. Using the Macro function, I can do this, but the second Macro> call never kicks off, though the first finishes completely. Is there some clearing procedure that is necessary? Is there a way to check for the finish of one macro to trigger the next Macro> call, etc.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Jul 30, 2003 12:21 am

Just a few thoughts that come to mind on your problems:


1. You could use a INI file to keep status. Based on the status in the INI file, you could decide to trigger another macro.

2. In your first macro be sure logging is turned on. Then you can check the log after running to see if macro 2 was called and executed.

3. Recent versions of Macro Scheduler require the full path of the macro being called. Make sure that is correct, and that you have no trailing space characters.

Hope this helps..........good luck,
Bob

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