Re: Script to get default browser?
Re: Script to get default browser?
- Subject: Re: Script to get default browser?
- From: Paul Skinner <email@hidden>
- Date: Thu, 9 Jan 2003 22:36:43 -0500
set currentState to do shell script "defaults read
com.apple.LaunchServices "
set AppleScript's text item delimiters to "E:html\" = (
{
LSBundleIdentifier = \""
set currentState to text item 2 of currentState
set AppleScript's text item delimiters to "\";"
set currentBrowser to text item 1 of currentState
-->"com.apple.safari"
--
Paul Skinner
On Thursday, January 9, 2003, at 07:01 PM, Mr Tea wrote:
Can I use AppleScript to find out what the current default browser is?
I peeped into the Terminal and had a look at man defaults, but was
quickly
overwhelmed and had to retire.
Thanks
Mr Tea
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.