In the Add Button window, you can create a new button to launch an applet, play a macro, go to a specified URL, run an application, assign a keyboard function, or access basic menu items.
General steps for adding buttons: (For more information on individual button types, refer to the list below.)
Applet
Type the full class name of the applet that you want
Host On-Demand to launch when the button is clicked.
You must follow the rules described in
Run applet.
Application
According to your platform syntax, specify the full application path followed by any application parameters.
URL
Specify a URL address to open in your default browser.
Macro
You can create a button that plays a macro.
If you specify a parameter list for the macro,
the parameter list is saved as part of the button definition.
Macro Location:
Depending on how the administrator has configured the session,
available macros reside in the Current Session, Personal Library,
Server Library and any user-defined libraries.
When macros are placed in a library, rather than in the Current Session,
they can be easily shared by multiple users and/or sessions.
See Sharing and reusing component definitions for
more information.
User-defined Locations:
If you want to use a macro in a location other than those listed, you can
use the Add... button to specify the new path. Host On-Demand will
remember up to three user-defined library locations; after that the
least-recently-used location will be dropped. You can also explicitly delete
user locations with the Delete button. Note that when
you click on the toolbar button to run the macro, if the macro is in a user
location, Host On-Demand will search all of the current user locations for
the named macro.
See Searching user-defined macro locations for
more information.
Select a Macro:
Select the name of the macro for which
you want to create a button.
(To see the macro's properties,
right-click the macro name and click Properties.)
Parameters (optional):
If the macro requires or permits a parameter list,
type the parameter list into this input field.
Toolbar text:
You can:
File
You can create a button to represent any option of the File menu.
Edit
You can create a button to represent any option of the Edit menu.
View
You can create a button to represent any option of the View menu.
Communication
You can create a button to represent any option of the Communication menu.
Actions
You can create a button to represent any option of the Actions menu.
Help
You can create a button to represent any option of the Help menu.
Keystroke
Assign a keyboard function (from the Characters, Host Functions, or Custom Functions categories) to a toolbar button.
Certain keyboard functions are predefined with Host On-Demand for remapping. The Custom Function Editor allows you to define and maintain new keyboard functions, called custom functions, without having to edit HTML and JavaScript files. These new functions may be assigned to a toolbar button.
On the Keystroke page, choose from a list of keystrokes to create a button. Then, when you select that button, it will function as if the assigned keys have been pressed.
This option does not appear on FTP sessions.