Name
script_done -- notify observer that a script has finished
Purpose
Play audio message and display a popup window to warn that
something has happened.
Usage
script_done [host [sound [message]]]
Arguments
host = host on which to play the sound [default = "hanauma"]
sound = name of the sound file to play [default = "rooster"]
message = text message to display [default = "Your script just finished"]
Side effects
- an audio message is sent to the specified host
- an informational window is raised on the current display
Restrictions
- DISPLAY must be set to receive window
- In order for audio to play, the specified sound host must have a sound card
and speaker, and the same account executing this script must be logged into
the console on the host
Exit values
0 = normal completion
1 = wrong number of arguments
Example
See Also
The shell script script_done
DEIMOS script index
Go to:
DEIMOS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Wed Jun 9 16:30:31 2004