Hide Comments

 

User commands are constructed by appending the selected file name(s) to the command options. Although there is an option to place the options last, no further flexibility is available. For example, you cannot place some options before the file name(s) and some after.

 

Unless you use Option Specifiers.

 

Option specifiers are entered in the Command Options and are expanded when the command is executed. An option specifier consists of a percent sign (%) followed by a single character. The valid specifiers are as follows (note that case is important):

 

F

The selected file name(s) - includes fully qualified path

f

File name only (no path)

G

The fully qualified selected file names(s) with any extension omitted

g

File name only with extension omitted

D

The name of the current directory - includes fully qualified path

d

Directory name only

Z

The name of the ZIP file - fully qualified path (Zip View only)

z

ZIP file name only

T or t

The currently selected text (File View or Search Results View

U or u

The currently selected (or right-clicked) URL

W

The currently selected (or right-clicked) word (using word set 1)

w

using word set 2

X

The column number of the start of the selected text

x

The column number of the end of the selected text

Y

The line number of the start of the selected text

y

The line number of the end of the selected text

L or l

The line number at the top of the display

n

The number of characters highlighted (in decimal)

N

(in hex)

s

The start offset of the selected text (in decimal)

S

(in hex)

e

The end offset of the selected text (in decimal)

E

(in hex)

P or p

Prompts the user for "extra options" which will be appended to the Command Options

 

 

Note

 

A User Command will not be executed if a option specifier cannot be expanded. For example, if %W is specified and no text has been selected.