• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining the Default Mail App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining the Default Mail App


  • Subject: Re: Determining the Default Mail App
  • From: "J. Stewart" <email@hidden>
  • Date: Mon, 6 Feb 2006 16:56:57 -0500

On 2/6/06 at -0000 kai said this

>On 6 Feb 2006, at 21:01, Gnarlodious wrote:
>
>> Thanks, kai. It looks like you are still running the 10.3.x
>> version. Possibly you "upgraded" to 10.4 rather than installing on
>> a clean disk like I did.
>
>Correct, I upgraded. Until now, it's not been an issue...
>
>> Here is a version that should work on both kinds of databases:
>>
>> set defaultBrowser to do shell script "defaults read
>> com.apple.LaunchServices | sed -n '/http;/{s/.*\\.\\(.*\\)\".*/\\1/
>> p;}' "
>> if defaultBrowser is "" then set defaultBrowser to do shell script
>> "defaults read com.apple.LaunchServices | sed '/U:http\\\\/,/
>> LSBundleLocator/!d' | sed -n '/LSBundleIdentifier/{s/.*\\.\\(.*\\).
>> \".*/\\1/p;}' "
>>
>> defaultBrowser
>
>Sorry, Gnarlie - that still returns an empty string here (but then I
>seem to be the only one around here with this problem). :-)


You aren't Kai, it's returning an empty string for me too in 10.4.4

JBS
--
You can get more with a simple prayer and a Thompson sub-machinegun than you can with a simple prayer alone.  - John Dillinger
 _______________________________________________
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

References: 
 >Re: Determining the Default Mail App (From: kai <email@hidden>)

  • Prev by Date: Re: Determining the Default Mail App
  • Next by Date: Re: Determining the Default Mail App
  • Previous by thread: Re: Determining the Default Mail App
  • Next by thread: Re: Determining the Default Mail App
  • Index(es):
    • Date
    • Thread