> As to my second problem, this went away when I put my script in a > TeXShop engine and called it via osascript, not sure why. That's good to know, thanks! The ways of applescript are a nicely disguised mystery to me... Jan