[OS X TeX] Applescript in TS

Themis Matsoukas tmatsoukas at me.com
Mon Nov 7 22:05:38 CET 2011


On Nov 7, 2011, at 1:32 PM, Claus Gerhardt wrote:

> -- Applescript direct
> 
> tell application "TeXShop"
> 	activate
> 	get path of document of window 1
> 	set fileName to result
> end tell
> do shell script "open -a " & "/Applications/Excalibur/Excalibur.app " & quoted form of fileName

Thanks - this did the job.

Themis



More information about the macostex-archives mailing list