Application Desktop

The application user interface, the configuration of those components, and the state of the interface, is called the desktop. You see the desktop whenever you start a Scenome application. A complete desktop is composed of an XML file, registry settings, and a script initialization file.

Interface Definition File

This XML file stores the structure of the main menu, toolbars, command menus, and keyboard accelerators. Inside the XML file, command references are mapped to C++ and script commands via globally unique identifiers, or GUIDS. Scenome applications have an interactive, drag-and-drop system for desktop customization but you can edit the XML file by hand if you prefer.

Right click to save the XML Interface Structure File

Registry Settings

The registry stores information about the visibility and position of interface elements such as toolbars and panels. This information is dependent on the display resolution. Scenome applications can run without registry information and/or XML information because the application can recreate a basic desktop from information stored inside SCENOME.EXE. You can edit these values as long as you know what you're doing. Otherwise it's best to leave the registry alone because incorrect information may cause application failure upon startup.

Right click to save the Example Registry Settings File

Script Initialization File

SCRIPT.INI is the only initialization file that should be altered. Altering this file allows you to change which scripts are loaded by supplying additional script files or changing the paths and filenames of existing entries. When you create a new application, you generally do not need to edit SCRIPT.INI.

Right click to save the Example Script Initialization File

Multiple Desktops

Please note: While Scenome's multiple application model has reduced the need for multiple desktops, this feature is still supported.

Scenome applications can store and load multiple XML desktops with a single button click. Switching can be implemented with a script:

macro DesktopUseBeginnerInterface()
[Category="Desktop Commands", Guid="{F6777416-24F8-4C35-A4A6-D4A6B5266E57}", Image=".\\icons\\desktop_use_beginner_interface.bmp"]
{
   Application.SetInterfaceDefinitionFile( "c:\\documents and settings\\owner\\application data\\scenomics\\scenome_beginner_interface.xml" );
}
   

If you create a new desktop such as USER.XML, the Scenome application loads the new desktop upon startup. You can change the default desktop at any time by creating a new desktop or loading an existing desktop from the hard disk. Changing the interface alters the current desktop; it does not create a new desktop. A complete desktop requires a unique XML file. There is only one script initialization file for each installation of Scenome.

Use the customization center if you wish to customize the interface by adding a new C++ or script command.