Applescript is certainly your friend here, though you could do it with the 
shell and the "open" command.

In AppleScript 
tell application "Mail" to activate
tell application "iChat" to quit


Note that there are quotes around the application name.

Best regards,

Jonathan

Jonathan C. Cohn
[email protected]



On May 5, 2012, at 1:08 PM, Mark BurningHawk Baxter wrote:

> I'm running Snow Leopard, and I want to use a keyboard shortcut to open or 
> close three or four apps at once.
> 
> Example:  I'm going to write now and don't want to be disturbed by the 
> Internet; I want to close Mail, Syrinx, and whatever messenger clients I have 
> up, but I want to use ONE keystroke to do it, or to open them.
> 
> Is there a way to use VO or a script to do this?
> 
> Curiously
> 
> 
> • Mark BurningHawk Baxter
> • AIM, Skype and Twitter:  BurningHawk1969
> • MSN:  [email protected]
> • My home page:
> • http://MarkBurningHawk.net/
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to