Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Quit Mail.app remotely in a nice manner' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quit Mail.app remotely in a nice manner
Authored by: steresi on Jun 15, '04 11:31:47AM

I tried adding the alias above to my .bash_login, adapting it for Microsoft Entourage, but I received the following cryptic error:

## Component Manager: attempting to find symbols in a component alias of type (imdc/MP42/MSFT)
osascript: arguments following program will be ignored.
17:26: execution error: The variable Microsoft is not defined. (-2753)

The problem was the nested double quotes needed to be escaped with backslashes. So this is the command that worked for me:

alias quitmail='osascript -e "quit application \"Microsoft Entourage\" saving yes"'

Scott
--
www.teresi.us



[ Reply to This | # ]