Re: Safari and Helper Applications
Re: Safari and Helper Applications
- Subject: Re: Safari and Helper Applications
- From: Chris Silverberg <email@hidden>
- Date: Wed, 18 Jun 2003 22:26:05 -0700
- Organization: Silverberg.Net
on 6/18/03 9:19 PM, Larry Gerndt at email@hidden wrote:
>
Has anyone found a way to make Safari launch a custom helper application
>
(other than the standard QuickTime, Stuffit, etc)? What it's supposed to do
>
(but doesn't), is look at Internet Config, where applications are bound to
>
MIME types, or at least look at the LaunchServices database, which it also
>
doesn't.
I don't believe it looks at InternetConfig, but it *should* look at
LaunchServices. However, it's unknown exactly what Safari decides to open.
As the preference says, "Open 'safe' files after downloading - 'Safe' files
include movies, pictures, sounds, PDF and text documents, and disk images
and other archives." That seems a bit ambiguous to me.
>
In case it helps, here are the details of the problem: When the user clicks
>
on one of our "meeting" links in a browser, the browser downloads a document
>
whose extension is .ptk and whose MIME type is "text/ptk" (our custom MIME
>
type). In Internet Config, we've associated this MIME type and extension
>
with our application.
Did you also add your MIME type to your Info.plist file? It's just a guess,
but Safari may require a MIME type to be registered in your Info.plist
before it will launch your helper. From the 10.2 technote:
"MIME info can now appear in application plists along side
CFBundleTypeExtensions and CFBundleTypeOSTypes to identify files an
application is capable of displaying or editing by MIME type. The MIME key
is CFBundleTypeMIMETypes."
Good luck...
-Chris
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.