[Contents] [Prev] [Next] [End]


Appendix A. Customizing xlsbatch Menu Items


You can customize the menu items of xlsbatch by specifying customizedMenu resource in the X resource file. With this feature, you can:

The format of the customizedMenu resource is:

xlsbatch*customizedMenu:"A1 B1 C1 D1 A2 B2 C2 B2 ... An Bn Cn Dn"

where the resource value is a character string enclosed in double quotes, whose components are separated by spaces.

From the beginning of the string, each four consecutive components constitute a group that customizes one menu item. Each component is either a character string or several character strings encompassed by parentheses.

The following define the valid syntax for a menu item group:

For example, remove the 'View' sub-pull-down menu from the 'Job' pull-down menu:
xlsbatch*customizedMenu:"Job View 0 0"

xlsbatch puts the jobIDs of those selected in the job list of the Main Window into a group of UNIX environment variables:

JOBID0 JOBID1 ... JOBIDk

Starting with JOBID0, each variable contains at most 200 job IDs separated by spaces, the variable group ends with a null variable.


[Contents] [Prev] [Next] [End]

doc@platform.com

Copyright © 1994-1997 Platform Computing Corporation.
All rights reserved.