AmigaOS 4.0 - About OS4 - Commands
|
||||||||
|
||||||||
|
CLIP can store some text in the clipboard, retrieve some text from it or count how many clipboard units are filled.
Using the GET argument will retrieve text from the specified unit number (if supplied). Using the SET argument and a <string> will store this <string> into the specified unit number (if supplied). Using the COUNT argument will count and display the number of filled clipboard units. The UNIT argument is used to specify which of the clipboard units should be used for the GET/PUT action. The TEXT argument is the text data to be stored in the clipboard unit. The WAIT argument, used along with the GET action, will wait for the unit to be filled with text data. Then it will perform the GET action. It may be useful in scripts. If no GET, PUT or COUNT argument is specified, text will be retrieved. i.e. GET is the default action. If no unit number is specified, text will be written to/read from unit 0. Example 1: Example 2: Amiga Example 3: 1 Example 4:
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it. |