• 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: open location "message://<xyz>" now fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open location "message://<xyz>" now fails


  • Subject: Re: open location "message://<xyz>" now fails
  • From: Philip Aker <email@hidden>
  • Date: Tue, 11 Nov 2008 09:15:59 -0800

On 2008-11-11, at 08:25:22, Simon Forster wrote:

Having built a(n AppleScript) system based on the premise that open location "message://<xyz>" opens the appropriate email in Mail, suddenly Mail's started to return the less than helpful error: "No associated application could be found.". Can anyone suggest a way of getting this functionality back please?

FWIW, info on the "message://<xyz>" format can be found here <http://daringfireball.net/2007/12/message_urls_leopard_mail>.

It might mean that some third party app has registered the scheme.

One way that URL schemes are registered is in each application's Info.plist. I'm not sure if there is an API (like in WebKit or some other framework) which can register URLs dynamically.
Maybe if you 'touch' /Applications/Mail.app from Terminal it will update the database. Another call to check into would be:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -h

ยง

BTW, I just dragged (drug) a message from Mail.app into a TextEdit document and saved it as HTML. The salient line is:

<p class="p1"><a href=""message:">message:">open location "message://&lt;xyz&gt;" now fails</a></p>


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: open location "message://<xyz>" now fails
      • From: Simon Forster <email@hidden>
References: 
 >open location "message://<xyz>" now fails (From: Simon Forster <email@hidden>)

  • Prev by Date: open location "message://<xyz>" now fails
  • Next by Date: Re: FileMaker 9 finds
  • Previous by thread: open location "message://<xyz>" now fails
  • Next by thread: Re: open location "message://<xyz>" now fails
  • Index(es):
    • Date
    • Thread