can the macro command execute an encrypted macro?
Moderators: Dorian (MJT support), JRL
can the macro command execute an encrypted macro?
I have tried to use the macro command within an encrypted macro to execute a macro that is also encrypted. It didn't work...
Is this not possible or am I doing something wrong???
thanks!
Is this not possible or am I doing something wrong???
thanks!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
A compiled macro is no different than any other executable file, and can be called in a macro. And the compiled code can call Macro Scheduler command line that executes a macro if Macro Scheduler is installed.
Would be helpful if you include the code in the macros and compiled code that are doing the calling. That should allow us to see the possible cause.
Would be helpful if you include the code in the macros and compiled code that are doing the calling. That should allow us to see the possible cause.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
This is intentional - the macro command calls an external file and therefore does not know about encryption. Encryption only works for macros run from the Macro Scheduler interface. I can think of a couple of workarounds:
1) Call the encrypted macro like this:
Let>RP_WAIT=1
Run>c:\...\msched.exe ecrypted_macr_name
Replace ... with the path to the Macro Scheduler executable.
2) Assign the encrypted macro a hotkey (Macro Properties/HotKeys). Then have the calling macro issue that hot key, e.g.:
Press Ctrl
Press F5
Release Ctrl
You'll need to add some way to ensure it waits for the macro to complete.
1) Call the encrypted macro like this:
Let>RP_WAIT=1
Run>c:\...\msched.exe ecrypted_macr_name
Replace ... with the path to the Macro Scheduler executable.
2) Assign the encrypted macro a hotkey (Macro Properties/HotKeys). Then have the calling macro issue that hot key, e.g.:
Press Ctrl
Press F5
Release Ctrl
You'll need to add some way to ensure it waits for the macro to complete.
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?