Drucegrove DragonFly User Manual 1.4
Page 47
Parser Arguments
The following attributes need to be defined per parser
Argument
:
ID
The text string that will be defined in the source URL within braces.
Note: Do not include the braces in this definition.
Name
The friendly display name of this argument when it is asked for by the
DragonFly Designer or Remote Configuration software.
Description
Optional friendly description of this argument when it is asked for by the
DragonFly Designer or Remote Configuration software.
Variables
The following attributes may be defined per static
Variable
:
Name
The name of the data variable to store the value in.
Value
The text to be placed in the variable value.
This may contain arguments by including argument IDs within braces.
ValueIf
Optional list of semi colon separated variable values.
The test and result value should be separated by a colon character.
The test is not case sensitive.
If colons or semi colons need to be used as part of the string, they should be
escaped by a back slash character (eg “\:”).
If back slashes need to be used as part of the string, they should be escaped
by another back slash character (eg “\\”).
Trim
Optional boolean value, false by default.
If True, white spaces (space, tab and carriage return characters) will be
trimmed from the start and end of the resultant text value.
Format
Optional formatting of the resultant value.
Can be one of the following values:
None
LowerCase
UpperCase
TitleCase
SentenceCase
Replace
Optional list of semi colon separated search and replace text values.
Each search and replace value should separated by a colon character.
The search is not case sensitive.
If colons or semi colons need to be used as part of the string, they should be
escaped by a back slash character (eg “\:”).
If back slashes need to be used as part of the string, they should be escaped
by another back slash character (eg “\\”).