The ARexx interface

RexxCD features an ARexx interface, from there you can control the program behaviour. If you are not familiar with ARexx, please refer to the "ARexx User's Guide" supplied with your computer.


ARexx commands

ARexx commands in RexxCD:


ACTIVATE


BUTTON


DEACTIVATE

Template:

Function:

Options:

Example:

See also:


DISABLE


EJECT

Template:

Function:

Options:

Example:

See also:


ENABLE

Template:

Function:

Options:

Example:

See also:


GETATTR

Template:

Function:

Options:

Example:

See also:


HELP

Template:

Function:

Options:

Example:


INSERT

Template:

Function:

Options:

Example:

See also:


LOADSETTINGS

Template:

Function:

Options:

Example:

See also:


LOCK

Template:

Function:

Options:

Example:

See also:


NOP

Template:

Function:

Options:

Example:


QUIT

Template:

Function:

Options:

Example:


PAUSE

Template:

Function:

Options:

Example:


RESUME

Template:

Function:

Options:

Example:


PLAY

Template:

Function:

Options:

Example:


SAVESETTINGS

Template:

Function:

Options:

Example:

See also:


SETATTR

Template:

Function:

Options:

Example:

See also:


SKIP

Template:

Function:

Options:

Example:


START

Template:

Function:

Options:

Example:


STOP

Template:

Function:

Options:

Example:


UNLOCK

Template:

Function:

Options:

Example:

See also:


Example Programs

        /*      Show the table of contents
        */
        options results
        address REXXCD

        GETATTR TRACK STEM T
        Say
        Say 'No.__Artist/Group__             __Title__'
        do i=1 to T.COUNT
                'GETATTR TRACK NAME 'i' STEM T'
                Say RIGHT(i,2,'0')':'LEFT(T.ARTIST,28)' 'LEFT(T.TITLE,48)
                end


/* Load the TOC-file into TurboText */ options results address REXXCD GETATTR DISC FIELD IDFILE VAR FILE address COMMAND 'TTX 'FILE


The startup program

RexxCD starts an ARexx script at startup time, This defaults to "Startup_RexxCD.rexx"

Here's an example of how it can look like:

        /*
        Name            : StartUp_RexxCD.rexx
        Created         : 05/07/95
        Last change     : 18/06/96
        Programmer      : Urban Lindeskog
        Organization    : ProNotion SoftWare Development Group
        */
        OPTIONS RESULTS

        SETATTR DRIVE FIELD STEREO VALUE 0

        V.LEFT=255
        V.RIGHT=255
        SETATTR VOLUME STEM V

        PLAY 1