Xerox -05W Printer User Manual


 
5-8
The Toolbar
Initiating A Script File
You can program a button to run a script file when pressed by enclosing the name of
the file and any arguments within the <' (left angle bracket and single quote) and '>
(single quote and right angle bracket) characters. For example, to program a button
so that it will run the script file myscript.scr and assign the values value1 and
value2 to two variables, you would enter the following:
<'myscript.scr(value1,value2)'>
Refer to the chapter Creating A Script File for more information.
Removing Button Tools
You can remove individual button tools from the toolbar or you can remove the entire
toolbar and floating button palette from the display.
A button tool is removed by selecting it in the Current Tool list box then clicking
the Delete Current button. To remove the toolbar and floating button palette from
the display, deselect the Visible check box.
Saving The Button Tools
When you have finished defining button tools you can save them so that they will be
reasserted when TeemTalk is loaded or reset by selecting Save Session in the File
menu.
Button tool definitions are saved in a file which has the same name (and is in the
same directory) as the current workspace file but with the extension .tbr instead of
.wsp. If you specify a different workspace file name in the Save Session As dialog
box and save the current settings, TeemTalk will automatically make a copy of the
current button tool definitions file and give it the new workspace name if a file with
the same name does not already exist.