Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: scripter.log - Function Up: scripter - Tool Previous: scripter - Constructor


scripter.gui - Function



Package utility
Module tasking
Tool scripter


Display logged commands in a text pane


Synopsis
gui()


Description
This will place the current commands in a text window for editing, saving, and submission to glish or a batch queue.

The scripter gui has an autosave feature which is turned on by default scripter.autosave. You may disable the autosave feature by setting the .aipsrc variable scripter.autosave to F or off. There are two additional .aipsrc variables that let you control the autosave feature, scripter.autosavetime and scripter.autosavefile. The default auto-save time is 30s and the default auto-save filename is .scripter_autosave. The auto-save file will stick around unless the scripter-gui edits are saved explicitly. If the scripter-gui detects an auto-save file it will prompt, whether to load it or not.


Figure 1: The scripter gui
The buttons act as follows:

Submit
The script is executed using the command shown above. The default command unset DISPLAY;glish -l causes the scripter to be run in a separate instance of glish with no graphical output.
Save
The command is saved to the named file. Use the File->Save As menu to save with a different name.
Clear
Clears the scripter of all commands.
Dismiss
Dismisses the scripter. It may be recalled using the gui function.

The submit command may be overridden using the .aipsrc variable scripter.submitcommand.



Returns
Bool




next up previous contents index
Next: scripter.log - Function Up: scripter - Tool Previous: scripter - Constructor   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15