Re: Determining the Default Mail App
Re: Determining the Default Mail App
- Subject: Re: Determining the Default Mail App
- From: "J. Stewart" <email@hidden>
- Date: Tue, 7 Feb 2006 17:00:21 -0500
Yet another method of determining the default browser. This is for the less regex inclined :)
--> cut <--
set defaultBrowser to word -1 of (do shell script "defaults read com.apple.LaunchServices | grep -C5 E:html | grep -w LSBundleSignature")
tell application "Finder" to name of application file id defaultBrowser
--> cut <--
The previously posted regex methods failed to return anything (just an emopty string) on mine or Kai's machines. This method returns "Safari.app" OMM.
JBS
--
When you are dissatisfied and would like to go back to youth, think of Algebra. — Will Rogers
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden