Home | Contents | Index | Help | < Browse | Browse >


 The Selector window is defined by a script. This file is loaded by
 the shell command: Selector "script file"

 The script file is defined by commands in four different categories:

 1. Startup commands
 These commands executes every time the file is loaded or the window is
 updated by the update command.

 2. Window commands:
 These commands specifies the windows apperance. They can only be specified
 once in the same script.

 3. Panel defining commands:
 These command specifies the contents of the panel, with buttons,
 text strings etc.
 4. Event Commands
 These commands specifies what will happend if a variable is changed
 or before the program ends.


 More about commands:

 Many of the commands have default values.
 You don't have to use any startup or window commands if you don't
 need them. A window is allways opened automatic anyway.

 You can only have one command on each line. You might think that it
 looks like there is many commands on the same line when you take a
 look at the Exec or Button commands. For example the exec command:
 It is in fact one command that can execute many external (AmigaDos)
 commands. And these must be written on one line.


 The selector panel is built of items. These can be buttons,
 textstrings or spaces.


 A string can either contain no spaces, or it can be enclosed by
 one of the following signs:
    "  '  @  #  £  ^  &
 If you for example use the "-sign to enclose the string, then you can't
 use any "-signs inside the string, but you can use any other of the
 signs in the list above in the string.

 Examples:                        Gives the text:

 A_String                          = A_String

 "Isn't it good?"                  = Isn't it good?

 'That is "cool"'                  = That is "cool"
 ^Now using both " and '-signs!^   = Now using both " and '-signs!
 "Hello, are you "cool" today?"    = Not alowed. Selector will believe this
                                     is three strings:
                                                        Hello, are you 

 There is no real difference between a <string> and a <number>.
 All are in fact strings.


 You can write comments in your script by setting a ; before it.
 ; A comment...

Home | Contents | Index | Help | < Browse | Browse >