home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
426.lha
/
ClipFile_v1.02
/
ReadMe
< prev
next >
Wrap
Text File
|
1990-10-07
|
3KB
|
85 lines
CF (ClipFile) version 1.02
Written by David N. Junod
This little utility provides a number of usefull functions for accessing the
clipboard.
-h Display the help message.
-u <unit> Clipboard unit, ranging from 0 to 255.
-r <file> Place the contents of the named file into the clipboard.
Converts ASCII to FTXT form.
-w <file> Place the contents of the clipboard into the named file.
-f Don't convert FTXT form to ASCII, when writing from the
clipboard to a file.
-q Display the contents type (IFF form type) or 'empty' if the
clipboard is empty.
-c Clear a clipboard unit (set it to 'empty').
-n <file> Watch the named file and place it into the clipboard
whenever it changes. Must send a break signal to shutdown
the process. This options uses the file notification
feature of AmigaOS 2.0.
Test Files
The archive also contains a number of files usefull for testing the
clipboard routines of applications that support it.
test.ilbm Contains a nice IFF ILBM (brush) to be loaded into the
clipboard to see if applications even test to see if the
contents are FTXT when they require it.
test.ftxt Contains a nice IFF FTXT form with an AUTH and NAME chunk
before the CHRS chunk. Usefull for testing to see if the
application seeks to the CHRS chunk.
test.ftxt.no Contains an IFF FTXT form with an AUTH and NAME chunk, but
no CHRS chunk.
test.ftxt.odd Contains an IFF FTXT form with an odd length AUTH and NAME
chunk (with proper padding) before the CHRS chunk. Make
sure the application seeks properly.
Other Useful Tools
Another extremely usefull tool for clipboard testing is the SIFT command
that comes with the iffparse.library example suite (DevCon '90 disks).
Just type in 'SIFT -c' for the utility to run an IFF check on the contents
of the clipboard.
Updates
Changes for version 1.01 (8-Sept-90)
o Unit range checking changed from 0-9 to 0-255 (thought I'd seen
somewhere that only ten clipboard units were allowed).
o Seeks correctly through odd length (but still padded) chunks.
Changes for version 1.02 (10-Sept-90)
o Added the clear clipboard option.
o Allows the clipboard to be cleared by reading in an empty file.
o Lowered the size of cbuff to five long words.
o Added ClipID, Author and Project information to Buffer structure (of
the new fields, only ClipID is being maintained).
o Added ClipID to the query option.