[OS X TeX] [TeXShop] console window should close automatically

Tobias Sebastian Kuhn tosebk at gmail.com
Mon Apr 2 09:29:27 EDT 2007

Am 02.04.2007 um 12:48 schrieb Friedrich Vosberg:

> And how can I invoke AppleScript in a Shell-Skript?

With osascript:
osascript -e "tell application \"TeXshop\" to close window 3"
or osascript /path/to/your/Script.scpt

Remember to escape special characters like above, see 'man osascript'  
for an example of interaction between CL and AS itself.



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list