Rustywinger Posted November 16, 2007 Report Share Posted November 16, 2007 I have a dialog box that pops up at the beginning of a macro which lets the user know a macro is currently running. Since there are quite a few "Run Macro" links to external scripts in my work, I would like the dialog box to update with the name of the linked script currently executing. To do this, I just need the name of the current macro putinto a variable. Sure, I could hard-code that into every macro script, but I want to link this dialog box from all my macros in case I want to change the position of the dialog box- this way I only change one script since the name of the macro in the dialog box would be dynamic. Any ideas? Quote Link to comment Share on other sites More sharing options...
Rustywinger Posted November 16, 2007 Author Report Share Posted November 16, 2007 Never mind... "Variable Set from Misc" allows me to do this. Quote Link to comment Share on other sites More sharing options...
Rustywinger Posted November 16, 2007 Author Report Share Posted November 16, 2007 Wow, it sure seems to take awhile for the program to put the macro name into a variable! there is a two second pause everytime that Macro Run is called up. Quote Link to comment Share on other sites More sharing options...
kevin Posted November 16, 2007 Report Share Posted November 16, 2007 I'm not sure I understand what you are seeing. This macro instantly displays a text box containing the macro name: Set Variable %T1% to "Name of Current Macro" Text Box Display: Name of running macro Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.