Automating quitting and launching apps.

caspersoong

macrumors 6502a
Original poster
Feb 27, 2011
604
30
I use Robin and Safari interchangably. I open Robin to use less RAM for most of the time,then open Safari when I need to do serious surfing and saving of web pages. Is there a way to make Robin quit when Safari launches, and make Safari quit when Robin launches, automatically? Thanks!
 

Gregg2

macrumors 603
May 22, 2008
5,890
371
Milwaukee, WI
I bet you could make Apple Scripts for each, then execute "Robin to Safari" or "Safari to Robin" instead of using their icons to launch them. By the way, this is the first time I've heard of Robin.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,662
9,290
California
I use Robin and Safari interchangably. I open Robin to use less RAM for most of the time,then open Safari when I need to do serious surfing and saving of web pages. Is there a way to make Robin quit when Safari launches, and make Safari quit when Robin launches, automatically? Thanks!
Here you go. Paste this into Applescript editor and save each as an app. Place the saved apps in your dock and click when you want to run.

Code:
tell application "Safari"
	launch
end tell
tell application "Robin"
	quit
end tell
Code:
tell application "Robin"
	launch
end tell
tell application "Safari"
	quit
end tell