Viewer Keys and Toolbar

By default, the main mouse and keyboard controls for the standalone viewer are as follows:

 

There are several other actions and hotkeys which you can find via the menu at the top of the viewer:

 

Ctrl+Tab can be used to shift the input focus between a field in the metadata editor and the main viewer.

 

Configurable Toolbar

The toolbar and context menu in the standalone image viewer are fully configurable, just like all the toolbars and menus in the Lister. Additionally, you can create hotkeys that are only active in the viewer.

To edit the toolbar in the viewer, simply select the Customize Toolbars command from the Edit menu, just like in a Lister. The viewer context menu can be edited from the Context Menus tab in the Customize dialog, and you can also create viewer-specific hotkeys on the Keys tab.

 

The default viewer toolbar is called Image Viewer, but you can select another toolbar to use from the Viewer / Appearance page in Preferences. You might want to do this if, for example, you want to create your own toolbar but leave the default toolbar unchanged.

 

All the internal functionality of the standalone viewer is accessed using the Show VIEWERCMD command. This commands only work from a viewer toolbar, menu or hotkey – they will have no effect if you try to run them in a Lister. You can see from the above screenshot that the command corresponding to the Zoom In function is Show VIEWERCMD=zoom,+. A full list of VIEWERCMD commands is shown in the Show command reference section.

 

Although the Show VIEWERCMD command only works inside the viewer, this doesn’t mean it’s the only command that does – all other Opus commands and external functions also work inside the viewer. Of course, some commands (for example, Select) are not applicable to the viewer, but it’s certainly possible to use commands like Copy or Rename, or have buttons that open the current picture in, say, Photoshop.

 

The @if directive can be 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

See the Command modifier reference section for more information about @if command testing.

 

The behaviour of the mouse wheel and mouse buttons can be changed via Preferences. For example, you can make the left mouse button advance to the next image or close the viewer if you prefer.

 

Control Bar

The optional control bar at the bottom of the viewer is the same as the one in the Viewer Pane - it contains buttons for commonly used functions. You can enable or disable it using the View / Control Bar command.

    Viewer Pane - Control Bar.png

From left to right, the buttons are Previous File (Viewer Control - Prev.png), Next File (Viewer Control - Next.png), Rotate Left (Viewer Control - Rotate Left.png), Rotate Right (Viewer Control - Rotate Right.png), Zoom In (Viewer Control - Zoom In.png), Zoom Out (Viewer Control - Zoom Out.png), Original Size (Viewer Control - Original Size.png), Fit To Page (Viewer Control - Fit To Page.png), Grow To Page (Viewer Control - Grow To Page.png), Hex View (Viewer Control - Hex View.png), Slideshow (Viewer Control - Slideshow.png), Full Screen (Viewer Control - Fullscreen.png), Print (Viewer Control - Printer.png) and Settings (Viewer Control - Settings.png).