Installing action definitions
Scripts that define actions for the object are displayed in the
first two full-length fields
on the Object Builder window.
You can define two types of action sequences for the object:
-
those taken when a user double clicks on the object.
You can define actions taken when the user double clicks
with mouse button 1 (Activate)
separately from those taken when the user
double clicks with mouse button 2 (Alt_Activate).
-
those taken when a user drags and drops the object.
You can define actions taken when the object is dragged with
mouse button 1 (Drop) or mouse button 2 (Alt_Drop).
You can define the actions to associate with the object
in one of four ways:
-
install the actions from an existing action script by
dropping the file containing the action script
on the Object Builder window
-
install the actions defined in an existing object by
dropping the object on the Object Builder window
-
install default actions by dropping an executable on the
Object Builder window or by selecting Executable
from the Install menu
-
enter your own actions directly in the ``Trigger Action''
fields
When you drop a non-executable, non-directory file icon
on the Object Builder window, the
Object Builder assumes it contains a script
of action definitions.
If you drop an action script, existing object, or an
executable on the Object Builder window,
you must first specify the action sequence that you are
defining: Activate, Alt_Activate,
Drop, or Alt_Drop.
Make your choice using the toggle buttons above the
``Trigger Action'' fields.
When you drop an object's icon on the Object Builder window,
you are prompted to specify which component(s) to load.
You can choose to load the picture only, the actions only,
or both.
See also:
Next topic:
Installing a picture
Previous topic:
Opening an existing object
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005