That's a tricky question and there is no good answer yet to that. As
you can see, the problem here is file typing by extension, not the UTI
itself.
Feel free to file a bug to Apple to ask some kind of "type sniffing".
--
Julien
On 15 févr. 08, at 01:01, Matt Hoffman wrote:
I have a movie format that has been around on the Mac for about 20
years and uses the .img extension. There is a QT component
plug-in for it (in fact it is used as Apple's sample code for
developing QT components). I want to create a UTI so QuickLook will
recognize the extension and use the QT component for the preview.
I added the following to the plist of my main application:
What I find when using qlmanage in terminal to preview the file is
that the UTI is registered to the old disk image file
"Content type UTI: com.apple.disk-image-ndif"
I know my basic procedure is correct in that changing my plist's
public.filename-extension from img to imgz and changing
a sample-file's extension to .imgz does cause the qt .img component
to be called when I invoke QuickLook.
Is there a way to make sure my UTI gets priority over the now
defunct disk image UTI?
Matt Hoffman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quicklook-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicklook-dev/jjalon
%40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quicklook-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicklook-dev/email@hidden