Information Center

Sharing and reusing component definitions

Z and I Emulator for Web allows you to save the following component definitions as separate files, and use them directly in host sessions without having to import the definitions into the session configuration itself:

This capability allows you to share and reuse these component definitions easily.

Once you save any macro, keyboard, toolbar, popup keypad and file transfer list definitions into separate files, the files are then immediately available to other sessions. You no longer need to configure the identical component again for the new session or import the file. If you subsequently update any of these definition files, other sessions that use those external files will automatically get the updates.

By default, the component definition files that you create are stored on your local machine in the ZIEWebObjs subdirectory. The complete path for the ZIEWebObjs subdirectory is a writable location unique to each user, and the exact path depends on the platform, browser, and JVM level. A typical path on a Windows machine using Internet Explorer, for example, might be Documents and Settings\username\ZIEWebObjs\. If the administrator has configured an alternate save location, then that location will be used for storing the component files.

Macro

All of the session windows that list available macros, such as the Play Macro window, allow you to select a macro location. Possible locations include the following:

When you record new macros or update existing ones, you have the option to save them to either the current session, your personal library, or to any network location for which you have write access. Also, on the Available Macros window, which is accessed from the drop-down menu on the Macro Manager toolbar, you can copy and paste any number of macros from one macro location to another.

Keyboard

The Open button on the keyboard window allows you to change the current keyboard definition being used by the session. At any given time, there is only one keyboard definition associated with an active session, but you can open a different one whenever the need arises. The Open button launches a window that allows you to choose either the legacy keyboard defined internally in the session (the Current Session option) or an external file. You can open a keyboard definition file from any location on your system, but the default location is the ZIEWebObjs subdirectory. Regardless of which keyboard definition you open, the selected definition becomes the current one used by the Z and I Emulator for Web session. Any updates that you make to the keyboard using the Save button are saved back to the location from which the keyboard was loaded (either the current session or the particular file). The next time you launch the session, the same keyboard is automatically loaded from either the current session or the file.

The Save As button on the keyboard window allows you to save the

The Save As button on the keyboard window allows you to save the current keyboard definition to a different location or file than is currently being used by the session. When you select Save As, the newly-saved keyboard becomes the current one for the session. This means that the saved keyboard will be the one loaded the next time you launch the session.

Toolbar

Like the keyboard, the toolbar offers Open and Save As options. These options are available by clicking Edit > Preferences > Toolbar in a host session or by right-clicking the toolbar itself.

Popup Keypad

Like the keyboard, the popup keypad offers Open and Save As options. These options are found on the Customize Popup Keypad window, which is available by clicking Edit > Preferences > Popup Keypad > Customize in a host session or Edit > Customize in a popup keypad.

File transfer list

All of the session windows that allow you to select or specify a file transfer list also allow you to select a file transfer list location. Possible locations include the following:

You can work with file transfer lists using either Host File Transfer or FTP/sftp, depending on the type of session you are running and how your administrator configured the session.

Related topics

  • Using the Macro Manager
  • Remapping the keyboard
  • Customize Toolbar
  • Configuring the Popup Keypad