Attributes
The attribute system in RexxCD enables the user to control about every
aspect of the program.
The attributes (also called FIELDS) are grouped
in units called OBJECTS. If there are more than one instance of
an object (e.g. WINDOW), the different instances of the object are
referenced by their NAME.
The attributes are set with the ARexx command SETATTR, and read with the
command GETATTR. The attributes system is also used for LOAD/SAVE SETTINGS.
For example, if you want to open the lyrics window, you set the
OPEN field of the WINDOW object called LYRICS to 1.
Like this:
SETATTR OBJECT WINDOW NAME LYRICS FIELD OPEN VALUE 1
Objects:
APPLICATION
NAME
This field contain the name of the application. This is for some
galactic reason "RexxCD".
VERSION
This field contain the version number of RexxCD.
SCREEN
What public screen the RexxCD windows resides on.
SETTINGS
REPEAT
1 - Play the whole CD over and over
2 - Play one track over and over
3 - Play the whole CD once
CREATEICONS
This field is not implemented.
ALLOWMACROS
If set to 1 RexxCD will execute ARexx macros embedded in lyrics. Note that
the lyrics window also must be open.
TOCPATH
The path to the Table Of Contents files. The TOC files contains
CD and track titles, lyrics, and Artist/Group names.
BUTTON
1: The Arexx string assigned for the first button. (Play previous)
2: The Arexx string assigned for the second button. (Play next)
3: The Arexx string assigned for the third button. (Skip back)
4: The Arexx string assigned for the fourth button. (Skip forward)
5: The Arexx string assigned for the fifth button. (Pause)
6: The Arexx string assigned for the sixth button. (Stop)
7: The Arexx string assigned for the seventh button. (Eject)
If you assign a button and later on want to revert to the default, just set it to an empty string.
ACTION
NEWDISC
Contains the arexx command that will be started when a new CD is inserted,
the default is "PLAY 1".
DEVICE
NAME
Name of the SCSI device driver. Common drivers are: "scsi.device",
"z3scsi.device" and "gvpscsi.device".
UNIT
The SCSI unit number for this drive. Common values are 0 to 6,
the unit number 7 is often reserved for the SCSI controller.
VOLUME
LEFT
The volume control for the left channel. Valid values are 0-255,
where 0 is muted audio, and 255 is the highest volume.
RIGHT
The volume control for the right channel. Valid values are 0-255,
where 0 is muted audio, and 255 is the highest volume.
DRIVE
NAME
The product name (CD drive model name).
VENDOR
REVISION
The version/revision string for this drive.
PRIVATE
A special identification string for this vendor/drive.
STATUS
The status of this drive:
0 - No disc
1 - Playing
2 - Paused
3 - Stopped
TYPE
What type of unit this SCSI device this is:
0 - Hard disc
1 - Streamer
2 - Printer
3 - CPU
4 - WORM
5 - CD-ROM
6 - Scanner
7 - MO
8 - Jukebox
9 - Comm
10 - Pre-Press device
11 - Pre-Press device
BPS
The logical Blocks Per Second for this drive. With normal drives
this field is set to 75, some old drives may use 300.
STEREO
If set to 1, there are controls for the left and right volume.
If not, both the left and right channel are set to the same level.
This is necessary for some (old) CD drives.
COMPATFIXES
This field lists the compatibility fixes that are in effect.
DISC
ARTIST
The name of the artist or group.
TITLE
ID
A id string calculated from number of tracks, length of
the first and last tracks.
BARCODE
The barcode number of this CD. This information is not
available for every CD.
IDFILE
The complete pathname to the current TOC file.
LENGTH
The total length of this CD.
ELAPSED
TRACK
FONT
WINDOW