getMacroCommand: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=getMacroCommand | |||
|description=Returns the command that would be executed for a [[macro button]] on the [[Token:Current Token{{!}}Current Token]]. The [[getMacroIndexes{{!}} getMacroIndexes()]] function can be used to get the index of a [[macro button]]. | |||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: command = getMacroCommand(index)] | [h: command = getMacroCommand(index)] | ||
</source> | </source> | ||
}} | |||
[[Category:Metamacro Function]] |
Revision as of 04:03, 7 March 2009
getMacroCommand() Function
Returns the command that would be executed for a macro button on the Current Token. The getMacroIndexes() function can be used to get the index of a macro button.
Usage
[h: command = getMacroCommand(index)]