ExpressionsAn expression is a series of value elements (variables or constants) combined with operators, which yields a new value. The operators act on the value elements by performing calculations, comparisons, or other operations. The most actions in Macro Expert support the expression to instead of the fix parameter value. It gives a macro more flexible - the macro has an ability to handle the different data every time the macro launches. Using ExpressionsTo use an expression in the action, simply enclose the expression by percentage signs, and use the equal mark to lead, like this: %=1+2%
|
Represents | Example | |
---|---|---|
\% | Percentage sign | %="100\%"+"abc"%. |
\n | New line | %="hello\n"%. |
\r | Carriage return | %="hello\n"%. |
\t | Tab character | %="No.\t\Name\tAge"%. |
\' | Single quotation mark | %="It\'s an example."%. |
\" | Double quotation mark | %="She said: \"No\"'%. |
\\ | Backslash | %="c:\\my document%. |