Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sebf

macrumors member
Original poster
Oct 25, 2006
48
0
UK
Basically I am trying to launch Firefox in a specific profile (eg having 2 AppleScripts for each profile)

Code:
ignoring application responses
	do shell script "/Applications/Firefox.app/Contents/MacOS/firefox  -P Firefox3Beta -no-remote 2>&1 >/dev/null &"
end ignoring

This launches Firefox in the right profile, but the AppleScript hangs/crashes in the background, until you quit Firefox.

Is there any way of launching an application (with arguments) and not having the AppleScript hanging?

I tried the same thing with a shell script, but terminal just remains open/hanging until you quit Firefox.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.