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