Copyright (c) Hyperion Entertainment and contributors.

MultiView

From AmigaOS Documentation Wiki
Jump to navigation Jump to search

Introduction

Multiview can read any file for which there is a descriptor file in Devs:Datatypes. These tell Multiview (and any other programs written to take advantage of datatypes) how to load the various types of files.

Command line arguments

FILE
Name of the file you want to be displayed/played by Multiview.
CLIPBOARD/S
CLIPUNIT/K/N
SCREEN/S
PUBSCREEN/K
REQUESTER/S
BOOKMARK/S
FONTNAME/K
FONTSIZE/K/N
CHARSET/K
BACKDROP/S
WINDOW/S
PORTNAME/K
IMMEDIATE/S
REPEAT/S
PRTUNIT/K/N
WINDOWLEFT/K/N,WINDOWTOP/K/N,WINDOWWIDTH/K/N,WINDOWHEIGHT/K/N
AUTORESIZE/S

Command line examples

Multiview...

ARexx Commands

OPEN

 NAME/K,CLIPBOARD/S,CLIPUNIT/K/N
 Open a file, or the contents of the specified clipboard unit.

RELOAD

 Reload the current object.

SAVEAS

 NAME/K,IFF/S
 Save the current object to disk. The IFF switch is used to force the
 save to be IFF instead of RAW (local format).

PRINT

 Print the current object.

ABOUT

 Display a requester with information about the current object.

QUIT

 Quit MultiView.

MARK

 Start Mark mode.

COPY

 Copy the currently selected block (or the whole object if no
 selected block exists) to the clipboard.

PASTE

 UNIT/N
 Open the contents of the specified clipboard unit. PASTE <n> is a
 shortcut for OPEN CLIPBOARD CLIPUNIT <n>.

CLEARSELECTED

 Deselect the currently selected block, if one exists.

GETTRIGGERINFO

 VAR/S,STEM/K
 Provide a list of trigger methods that the current object supports.
 VAR causes the information to be returned in RESULT.
 STEM causes the information to be returned in the named stem variable.
 The following values are supported:
   stem.count        number of elements in the array.
   stem.n.label      label
   stem.n.command    command
   stem.n.method     method

DOTRIGGERMETHOD

 METHOD/A
 Perform a trigger method on the current object.

SCREEN

 TRUE/S,FALSE/S
 Cause the object to be displayed on an own screen or not.

PUBSCREEN

 NAME/A
 Cause the object to be displayed on the specified public screen.

SNAPSHOT

 Save the current window position to ENVARC:MultiView/<screen name>.

GETCURRENTDIR

 Return the current directory for the current object.

GETFILEINFO

 Get the file information for the current object.

GETOBJECTINFO

 VAR/S,STEM/K
 Return information about the current object.
 VAR causes the information to be returned in RESULT.
   "name","basename","group","id"
 STEM causes the information to be returned in the named stem variable.
   stem.filename    file name of the current object.
   stem.name        object type name.
   stem.basename    object type basename.
   stem.group       object type group.
   stem.id          object type id.

MINIMUMSIZE

 Resize the object's window to its minimum size.

NORMALSIZE

 Resize the object's window to its nominal size.

MAXIMUMSIZE

 Resize the object's window to its maximum size.

WINDOWTOFRONT

 Bring the object's window to front.

WINDOWTOBACK

 Send the object's window to back.

ACTIVATEWINDOW

 Activate the object's window.

SCREENTOFRONT

 Bring the object's screen to front.

SCREENTOBACK

 Send the object's screen to back.

BEEPSCREEN

 Cause a display beep on the object's screen.

NEXT

 Note: only when viewing an Amigaguide file.
 Jumps to the next node in the guide.

PREVIOUS

 Note: only when viewing an Amigaguide file.
 Jumps to the previous node in the guide.