home *** CD-ROM | disk | FTP | other *** search
-
- 2View V1.11
- Written by Dave Schreiber. Released on September 11, 1991
-
- This program is Copyright 1991 by Dave Schreiber, All Rights
- Reserved. 2View is freely distributable, but the author retains all
- rights in regards to the program. Permission is granted to distribute this
- program for a minimal charge (for copying, handling, etc.).
-
- The files Minrexx.o and Minrexx.h are exempt from this copyright, as I
- did not create them.
-
- 2View is a IFF picture viewer, meant for use under Workbench 2.0, and
- thus will only operate under version 2.0 or later of the operating system;
- hopefully by the time you read this, 2.0 will be out for all Amigas.
-
- Running 2View from the command line
- -----------------------------------
-
- There are two ways to specify what picture(s) you want to display:
- either directly, or through a playlist. To use the command line, just list
- the files you want to display. For example:
-
- 2View Thatcher.pic Bush.iff Hussein
-
- To do the same thing with a playlist, create a file with those three
- filenames, each on a separate line. Assuming you called the file
- 'WorldLeaders', to display the pictures, do the following:
-
- 2View from WorldLeaders
-
- There are also two ways to specify how to advance from picture to
- picture. If you used the command line above, you'd advance by pressing the
- left mouse button (2View only registers mouse clicks on active windows; if
- you switch screens and click on another window, you need to click on the
- picture's screen twice (once to activate the screen's window, again to
- signal 2View)), or by pressing CTRL-C. To abort a sequence of pictures in
- the middle, click on the right mouse button or type CTRL-D.
-
- You can also specify that 2View will advance to the next picture after
- a given time interval. You can specify the time interval either in
- seconds, or 'ticks' (1/50ths of a second). To specify a delay in seconds,
- use the keyword 'seconds' or 'secs', as such:
-
- 2View from WorldLeaders secs 4
-
- For ticks, the keyword is 'ticks'. For example:
-
- 2View Thatcher.pic Hussein ticks 23
-
- Again, to abort the sequence early, press the right mouse button or CTRL-D.
- To advance to the next picture in the sequence before the time delay
- finishes, press the left mouse button or CTRL-C.
-
- Note that if you specify zero ticks or seconds, 2View will act as
- though you hadn't entered a time at all (and wait for you to press the left
- mouse button to advance).
-
-
- Finally, by using the keyword 'loop', you can tell 2View to start from
- the beginning once it gets through a list of pictures. A final example,
- where the pictures 'Thatcher.pic' and 'Hussein' are displayed over and over
- until the right mouse button is pressed, follows:
-
- 2View Thatcher.pic Hussein secs 1 loop
-
- Running 2View from Workbench:
- -----------------------------
-
- You can display pictures from the Workbench by clicking on the
- picture's icon (or more than one picture's icon, if you want to display
- more than one picture), then (while holding down the shift key) double
- clicking on 2View's icon. If you display more than one picture, you can
- advance to the next picture by pressing the left mouse button (or CTRL-C).
- You can quit in the middle of the pictures by pressing the right mouse
- button or CTRL-D.
-
- You can also display pictures using 2View by setting the 'Default
- Tool' field in the icon's Information window to point to 2View (for
- example, if you had 2View on a floppy named 'Stuff', in the directory
- 'Graphics', you would set the Default Tool field in a picture's icon to
- read 'Stuff:Graphics/2View'). Once you've done that, double clicking on
- the picture's icon is all that is required to display it
-
- Please note that pictures displayed from the Workbench will be shown
- until you click on a mouse button or press CTRL-C or CTRL-D; timed
- advancement (along with playlists and looping) are not supported from the
- Workbench (yet).
-
- Printing:
- ---------
-
- You can print the pictures you display in 2View, either automatically
- or manually. Manual printing is supported when using both the CLI and
- Workbench: just press CTRL-P and a copy of the picture currently being
- shown will be printed out on your printer.
-
- Automatic printing (where each picture is printed as it is displayed)
- is supported only from the CLI. To use it, put the 'print' keyword on the
- command line. For example:
-
- 2View Major Thatcher print
-
- would display 'Major', print it out, and wait for you to advance to the
- next picture. Once you did, it would show and print 'Thatcher' and wait
- again for you to advance.
-
- ARexx:
- -----
-
- 2View has an ARexx port. If you're familiar with ARexx, you can use
- it to get information on pictures as they are displayed, advance or abort,
- print pictures, etc (for example, by combining a playlist and an ARexx
- script, you could print out just the HAM pictures in a directory that
- contained pictures in a number of different formats).
-
- A list of ARexx commands supported by 2View is in the file
- 'ARexx.doc', and a sample script is provided under the name 'GetInfo.rx'.
- If you want more information on ARexx in general, consult chapter 10 of the
- 'Using the System Software' manual that came with your Amiga.
-
- Miscellaneous
- -------------
-
- If you have a picture that is larger than the screen, you can scroll
- around in it by pressing and holding the left-Amiga key (or whatever keys
- you have specified under 'Mouse Screen Drag' in the 'IControl' preferences
- program), then pressing and holding the left mouse button while you move
- the mouse around.
-
- If you have a file you want to display that has a name that is
- identical to a 2View comman dline option. use the 'file' keyword before
- those filenames. For example, if you wanted to show the files 'loop' and
- 'print':
- 2View loop print
- will produce the error. However,
- 2View file loop file print
- will work fine.
-
- As you've probably noticed, the source to 2View comes with this
- distribution. To compile (using SAS/C V5.10a), type the following on the
- command line, while in the source directory:
-
- lc -v 2View ARexx
- blink with 2View.lnk
-
- Please note that you need to have the file 'rexxglue.o' in your LIB:
- directory. 'Rexxglue.o' is found in the developers directory on the
- commercial version of ARexx.
-
- That's it! If you have any questions or comments regarding this
- program, please feel free to get in touch with me at the following
- addresses:
-
- Dave Schreiber
- 1234 Collins Lane
- San Jose, CA 95129-4208
- email: davids@ucscb.ucsc.edu
-
-