Jump to content
Macro Express Forums

Macroname Into Variable


kermic

Recommended Posts

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

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...