s.getmacro([macro] [what])
s - str variable.
macro - QM item name (full, case insensitive) or id (integer).
what - what to get:
0 | text. |
1 | name. See also getopt itemname. |
2 | trigger. It is encoded trigger string. It consists of trigger (possibly with escape sequences), programs and trigger filter function. To get parsed components or description, use qmitem. |
3-8 |
Gets QM item text or some other property.
Error if macro is invalid at run time.
Some features not available in exe.
str s ss s.getmacro("Untitled") ss.getmacro("\Folder\Macro") int i = qmitem("Untitled") _s.getmacro(i)