Commands

The following is a summary of the changes to the internal command set.

CLI

Clipboard

Copy

Delete

Find

GetSizes

Go

Help

Image

Prefs

Print

Properties

The Properties SETLABEL command supports embedded commands when it's used to generate dynamic  buttons.

 

Rename

Select

Set

SetAttr

 

Show

The Show command supports embedded commands, which let you open the viewer and run a command in the context of the viewer from the one button. For example, to show the selected file and automatically turn on the metadata pane in the viewer, you might use a command like:


    Show

    [Show VIEWERCMD=meta]

 

The @if directive can test the state of various Show VIEWERCMD options when used within the viewer. For example, the following function would toggle between 100% zoom and Grow To Page modes:

@if:Show VIEWERCMD=zoom,reset
Show VIEWERCMD=zoom,grow
@if:else
Show VIEWERCMD=zoom,reset

 

Command control codes and modifiers