Calling Macro Name
Moderators: Dorian (MJT support), JRL
Calling Macro Name
How can a called macro know/detect the name of its calling macro?
Re: Calling Macro Name
Hi armsys
The only way I can think of is to add these lines to the calling and the called scripts like this.
The only way I can think of is to add these lines to the calling and the called scripts like this.
Code: Select all
//Line in the calling script
Macro>%script_dir%called script.scp /launcher=%script_name%
Code: Select all
//Line in the called script
MDL>launcher
Re: Calling Macro Name
What a ingenious workaround solution!
The beauty of your solution is that it applies to all macros.
Thanks a million.
The beauty of your solution is that it applies to all macros.
Thanks a million.