kermic Posted August 12, 2004 Report Share Posted August 12, 2004 Hi I'm new to the list and have one question. Is it possible to get the name of a macro into a text variable (T1)? Like this: Macro name = Macro1 Switch (T1) Case: Macro1 Text Box Display: T1 = Macro1 Case: Macro Text Box Display: T1 = Macro End Case End Switch regards kotto Quote Link to comment Share on other sites More sharing options...
joe Posted August 12, 2004 Report Share Posted August 12, 2004 Welcome kotto! The command you want is within the Variable Set From Misc dialog. Set Variable %T1% to "Name of Current Macro" Quote Link to comment Share on other sites More sharing options...
jmazor Posted March 12, 2006 Report Share Posted March 12, 2006 Followup..... Is there any to have a shortkey place the shortkey itself into a variable? For example, if the shortkey is "xyz", I'd like the first command in the macro to be: "Set Variable %T1% to "Current Shortkey" So that after the command, %T!% will equal "xyz". Tanks, Jeff Mazor Quote Link to comment Share on other sites More sharing options...
jason Posted March 14, 2006 Report Share Posted March 14, 2006 Unfortunately there is not. Quote Link to comment Share on other sites More sharing options...
lemming Posted March 15, 2006 Report Share Posted March 15, 2006 Is there any to have a shortkey place the shortkey itself into a variable? For example, if the shortkey is "xyz", I'd like the first command in the macro to be: "Set Variable %T1% to "Current Shortkey" So that after the command, %T!% will equal "xyz". ... You seem to need a lot of self-referencing in your macros. I have a feeling it may not be necessary. Perhaps you could provide more details about what you're trying to achieve, then we might be able to suggest a different, better way of doing it. 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.