Compressor Script Example
#!/bin/csh -f
#
# set env var, COMPRESSOR_LOCATION if not set
#
if ${?COMPRESSOR_LOCATION} == 0 then
pushd `dirname $0` >& /dev/null
setenv COMPRESSOR_LOCATION /Applications/Compressor.app/Contents/MacOS
popd >& /dev/null
endif
#
# launch Compressor
#
exec ${COMPRESSOR_LOCATION}/Compressor $argv:q
Batch Monitor Script Example
#!/bin/csh -f
#
# set env var, BATCHMONITOR_LOCATION if not set
#
if ${?BATCHMONITOR_LOCATION} == 0 then
pushd `dirname $0` >& /dev/null
setenv BATCHMONITOR_LOCATION
"/Applications/Utilities/Batch Monitor.app/Contents/MacOS"
popd >& /dev/null
endif
#
# launch Batch Monitor
#
exec "${BATCHMONITOR_LOCATION}/Batch Monitor" $argv:q
368 Appendix C Using the Command Line
Comments to this Manuals