next up previous contents
Next: Tina View Up: Tina Windows Previous: Re-displaying Subtools and Dialogs   Contents

Call Scripts

Tina Windows incorporates a facility for saving scripts of user interactions with tools and user tool placement.

If the name of the program is progname then running the program with a -s (save) option

progname -s

saves a record of user interactions with Tina Windows in a file called progname.cls. Beore exiting the program a record of tool placement can be created by pressing the Save button which is a special button created with a call to

tw_save_button()

The next time the program is run with a -r (recover) option

progname -r

it will start by running all the saved calls and placing all invoked tools. If both -r and -s are specified saved calls will be replayed, then the user can then perform further interactions which will be appended to the call file.

This facility is especially useful when there are a lot of tools to be placed and standard set up procedures to be invoked.

The present version does not store the window hierarchy - tools that were visible before the save may be obscured on replay. Also iconification is not always dealt with properly.


next up previous contents
Next: Tina View Up: Tina Windows Previous: Re-displaying Subtools and Dialogs   Contents
root 2017-11-22