Table of Contents
Minimum Files for a RISC OS Toolbox application
!appname
Directory for the application. It should start with an "!" mark. All the other files are contained within this application.
!Boot
The !Boot
file is run when the application is seen by the filer.
This is used to set up system variables for file types for the application and set the application sprite file.
It can be omitted if all it is needed for is to set the application sprite file
!Run
The !Run
file is run when the application is double clicked on and sets up the environment before running
the application itself.
For a Toolbox application it will use the RMEnsure command to ensure the correct Toolbox modules are loaded,
sets any system variable the application may need (e.g. the application directory),
set the amount of memory the application requires to start up using the WimpSlot command
and finally runs the application itself.
!RunImage
The !RunImage
is the executable code of the application and is launched by the run file.
!Sprites
The !Sprites
contains the applications sprites to be loaded on the system.
This includes the application icon and icons for any file types the application provides.
There are also variations of this file with numeric suffixes to provide the sprites at different resolutions.
Messages
The Messages
contains the translatible messages for the application. For a Toolbox application it also contains some special tags for the task name and other details.
Res
The Res
contains the Toolbox resources for the application. This is the definition of the dialogues and Windows and is usually created/edited by !ResEd.
Sprites
The Sprites
contains sprites to be used within the application that will be automatically loaded when the application starts up. This file is only included if the application needs these sprites.
Details of what needs to go into each of these files will be shown in later chapters. The majority of what is needed will be shown in the following "Minimal TBX application" chapter.