Basically I am trying to launch Firefox in a specific profile (eg having 2 AppleScripts for each profile)
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.
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.