Re: open location "message://<xyz>" now fails
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?
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:
Philip Aker
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