Macro controller
Moderators: Dorian (MJT support), JRL
Macro controller
Good afternoon people,
I'm a beginner in Macro Scheduler. It used iMacros and ui.vision to automate processes.
I am migrated to the Macro Scheduler but I have doubts about whether I can build a macro that manages the execution of the others.
Example:
Macro Master checks if there is an item in the bank
if it exists runs macro1
if not, run macro2
So on.
All tasks are performed via chrome
Can anyone tell me if I can do this?
I'm a beginner in Macro Scheduler. It used iMacros and ui.vision to automate processes.
I am migrated to the Macro Scheduler but I have doubts about whether I can build a macro that manages the execution of the others.
Example:
Macro Master checks if there is an item in the bank
if it exists runs macro1
if not, run macro2
So on.
All tasks are performed via chrome
Can anyone tell me if I can do this?
- Dorian (MJT support)
- Automation Wizard
- Posts: 1389
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Macro controller
Hi,
I can't see why not. It's very rare we find something we can't automate. Of course without seeing the specific tasks we can't show you exactly how to do it, but it certainly sounds possible.
I can't see why not. It's very rare we find something we can't automate. Of course without seeing the specific tasks we can't show you exactly how to do it, but it certainly sounds possible.
Yes, we have a Custom Scripting Service. Message me or go here
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Macro controller
I do this and it works just fine. Ask Marcus about it (I sent him a video some months ago).
Re: Macro controller
I'm still creating Macros.
How do I run one macros from another?
How do I get a variable in the macro master that was created in the secondary macro.
Thanks
How do I run one macros from another?
How do I get a variable in the macro master that was created in the secondary macro.
Thanks
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Macro controller
I have one controller script that is monitoring the rest plus start them, and reboot them if they get stalled. They all post info about them self to a heartbeat.ini file (PID, window handles etc). So my main ways of passing info between them are:
Ini files
Txt files
Command line switches (when they are started by the main controller)
UDP messages
Ini files
Txt files
Command line switches (when they are started by the main controller)
UDP messages
Last edited by Grovkillen on Tue May 12, 2020 2:19 am, edited 2 times in total.
Re: Macro controller
That's exactly what I'm trying to do.
Do you have any examples or documentation?
Thank you
Do you have any examples or documentation?
Thank you
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Macro controller
I have a ton but it's my intellectual property so if you want my help I would need you to pay me for my time.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Macro controller
You can 'call' another script with the Macro> command. With the Macro> command you can 'pass' variables into the called script. Or you can 'include' other macro files (therefore access it's variables etc) with the Include> command. See:
https://help.mjtnet.com/article/16-incl ... rary-files
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Macro controller
I had seen these includes and I didn't understand.
But now I understood
Thanks
But now I understood
Thanks