Part 2 8. Customising The User Interface 8.1. Introduction Before you start this chapter, you should have worked with Amiga and clariSSA extensively. Terms like Gadget, PullDown menus etc. should be familiar to you. You should also know the clariSSA commands since you have to allocate them to the interface functions. In this section you will learn about one of the biggest features of clariSSA - customising the user interface for your own needs, settings and routines. After studying this chapter you should be able to control the creation of menus, buttons, startup settings, keyboard layout and default windows. Instructions for these commands are shown in bold printed capitals in the following lists. A complete syntax follows this, then the feedback which might be necessary and the instruction mask. An explanation for each individual command is given in a short description and detailed function descriptions are then supplied. At the end of this section is a printout of a user interface definition. Use this example to learn the individual instructions and labels . Page 8-1 8.2. Overview Command Brief Description Page # End of definition 8-4 MENUS Begin menu definition 8-5 MENU Menu title definition 8-5 ITEM Menu item definition 8-5 SUB SubMenu item 8-5 BAR Menu divider (blank line) 8-6 SBAR Menu divider (riffled line) 8-6 GADGETS Begin gadget definition 8-6 BAR Menu divider (blank line) 8-6 SBAR Menu divider (riffled line) 8-6 GADGETS Begin gadget definition 8-6 GADGETTILE Gadget title strip name 8-6 GADGET Gadget definition 8-7 STARTUP Begin StartUp definition 8-7 FAILAT Error threshold setting 8-8 AREXXSTRING AREXX String operations 8-8 KEYBOARD Begin keyboard command 8-8 8.3. Syntax Guide Page 8-2 The following syntax descriptions for the command format and masks are basically similar to AmigaDOS commands (=> See AmigaDOS reference). A 100% emulation is not possible for functional reasons. 8.3.1. Format <> = Variable input string. Example: =>The file name required. The angle brackets < > must not be entered in the actual command. "<>" = Variable input string which must be in quotes. Example MENU"' " => A text must be entered in quotes here. The <> must not be used in the actual command. [ ] = Optional input Example : SetPlayMode [REQ] => The option REQ can but does not have to be given. The [ ] are not necessary in the actual command. { } = Parameter, which can be related as often as required. Example: BOOLREQUEST {""'"'"'}. Up to ten text entries can be used. <#> = Numerical value. <+#> = Positive numerical values only. | = A vertical line means Either/Or. Example: ON | OFF | TOGGLE As these are optional parameters, they can be omitted. If these parameters are to be used only one line may be entered. 8.3.2. Masks & Parameters Page 8-3