Aug 20, 2006 11:50
I am trying to write an applescript to run this terminal command:
/Applications/DeerPark.app/Contents/MacOS/firefox -p "default"
What I have so far is
do shell script "/Applications/DeerPark.app/Contents/MacOS/firefox -p "default""
but it gives me the error:
A Identifier can't go after this """.
So is there a different way I need to write the "default"? If I run:
do shell script "/Applications/DeerPark.app/Contents/MacOS/firefox -profilemanager"
That runs fine, but I want to have 2 scripts that will run Firefox with specific profiles, not open up the profile manager.
Any ideas?
EDIT: Someone in another community figured it out. I just needed to capitalize the P and get rid of the quotes:
do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P default &> /dev/null &"