Command syntax

Top  Previous  Next

1. First command in the command line must begin with "/". All following commands don't need prefix "/".

 

 

2. Commands in the command line must be separated with semicolon ";".

 

 

3. Command parameters are specified inside parentheses and separated by commas.

 

 

4. Any parameter is optional. Parentheses are optional if no parameters.

 

Following command pairs are equivalent:

/Filter()

/Filter

and

/Edit(New, )

/Edit(New)

 

 

5. If parameter contains a whitespace or comma, the parameter wast be wrapped into double quotes. If the double quote is part of a parameter, it must be doubled (escaped with double double quote).

 

Example:

/Run(, "C:\Test file.txt") - incorrect command line. The parameter is wrapped into quotes, but the command gets treated as execution of file "C:\Test" with parameter "file.txt".
/Run(, """C:\Test file.txt""") - correct command line, opens "C:\Test file.txt" file
/Run(, """C:\Some application.exe"" ""some parameter""") - correct execution of an application with parameters.
/Run(, """%aActiveFullFile%""") - variable may contain whitespaces , and should better be wrapped into quotes.
/Edit(Embedded, "%aActiveFullFile%") - wrapping quotes aren't required as the second parameter is a file name, not a complex command.

 

 

6. #XXXX - substitute a Unicode symbol with hexadecimal code XXXX. Character "#" must be doubled if it's a part of a parameter.