Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

PALETTE Preferences Editor
Purpose: To specify the preferences for the Workbench color palette.
Format: INPUT [<filename>] [EDIT | USE | SAVE] [PUBSCREEN <public screen name>] [CREATEICONS YES | NO] [SCREEN] [SHOWHINTS YES | NO] [LEFT <coord> | LEFT | CENTER | MOUSE | AUTO]
[TOP <coord> | TOP | CENTER | MOUSE | AUTO]
[WIDTH <size> | MAXSIZE | MINSIZE | AUTO]
[HEIGHT <size> | MAXSIZE | MINSIZE | AUTO]
[FONTNAME <font name>] [FONTSIZE <font size>] [REDBITS <value>] [GREENBITS <value>] [BLUEBITS <value>] [COLORBITS <value>] [COLORMODEL <color model>]
Template: FROM, EDIT/S, USE/S, SAVE/S, PUBSCREEN/K, CREATEICONS/K, SCREEN/S, SHOWHINTS/K, LEFT/K, TOP/K, WIDTH/K, HEIGHT/K, FONTNAME/K, FONTSIZE/K/N, REDBITS/K/N, GREENBITS/K/N, BLUEBITS/K/N, COLORBITS/K/N, COLORMODEL/K
Path: SYS:Prefs/Palette
PALETTE without any arguments or with the EDIT argument opens the Palette Preferences editor.

The FROM argument <filename> enables you to specify a file to open. This must be a file that was previously saved with the 'Save As' menu item of the Palette Preferences editor. For example, if you have previously saved a special configuration of the Palette Preferences editor to a file in the Presets drawer, you can use the FROM argument to open that file.

If the USE switch is also given, the Palette Preferences editor will not be opened, but the settings in the FROM file will be used.

If the SAVE switch is given, the Palette Preferences editor will not open, but the settings in the FROM file will be saved.

The PUBSCREEN option can be used to specify a <public screen name> where the Palette Preferences editor should open.

If CREATEICONS YES is specified, an icon will be created for the saved file, otherwise no icon will be created.

The SCREEN option can be used to force the Palette Preferences editor to open in full-screen mode.

The SHOWHINTS YES option can be used to display usage information if you position the cursor over selectable items.

The LEFT, TOP, WIDTH and HEIGHT options can be used to customise where the Palette Preferences editor window should appear on the screen and the size of the window.

The FONTNAME and FONTSIZE options can be used to specify the font and font size to be used in the Palette Preferences editor window.

The REDBITS option can be used to specify a <value> in the range 1 to 8 for the number of bits to use for the Red slider of the Palette Preferences editor. If not specified, the default is for 8 bits.

The GREENBITS option can be used to specify a <value> in the range 1 to 8 for the number of bits to use for the Green slider of the Palette Preferences editor. If not specified, the default is for 8 bits.

The BLUEBITS option can be used to specify a <value> in the range 1 to 8 for the number of bits to use for the Blue slider of the Palette Preferences editor. If not specified, the default is for 8 bits.

The COLORBITS option can be used to specify a <value> in the range 1 to 8 for the number of bits to use for ALL of the color sliders of the Palette Preferences editor. If not specified, the default is for 8 bits.

The COLORMODEL option can be used to specify the <color model>. for the Palette Preferences editor. Valid values are RGB (Red, Green, Blue sliders) or HSB (Hue, Saturation, Brightness sliders). If not specified, the default is for RGB.

Instructions for using the Palette Preferences editor can be found here.

Example 1:

3.OS4:> PALETTE will open the Palette Preferences window.

Example 2:

3.OS4:> PALETTE Xyz USE will not open the Palette Preferences window, but will use the saved Palette preferences from Xyz in SYS:Prefs/Presets.


Return to Commands Selection

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.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.