[OT] Finder's "Open With" menu
[OT] Finder's "Open With" menu
- Subject: [OT] Finder's "Open With" menu
- From: Allan Odgaard <email@hidden>
- Date: Mon, 23 Feb 2004 12:26:28 +0100
Hi there, this is slightly off-topic, but development related
nonetheless.
For some reason I cannot make my applications appear in Finder's Open
With menu. I can select Other... and choose my application (so the
document type settings in the Info.plist seems to be correct), but even
after this, the choice of my application is not present in the menu the
next time I open it.
I have moved my application to /Applications and restarted the machine,
but this have not helped (and it would seem that Finder does cache open
applications, as I get e.g. World Text as an option for text files,
which is in a /Developer sub directory).
Does anyone know if there is a cache that I need to delete or if I need
to provide other information in my Info.plist than what can be edited
in Xcode's Document Types? For the records, I currently have this in my
Info.plist:
CFBundleDocumentTypes = (
{
CFBundleTypeExtensions = ("*");
CFBundleTypeMIMETypes = ("text/*");
CFBundleTypeName = NSFilenamesPboardType;
CFBundleTypeOSTypes = ("****");
CFBundleTypeRole = Editor;
},
{
CFBundleTypeExtensions = ("html,", htm);
CFBundleTypeMIMETypes = ("text/html");
CFBundleTypeName = "HTML document";
CFBundleTypeOSTypes = (HTML);
CFBundleTypeRole = Editor;
},
{
CFBundleTypeExtensions = ("txt,", text);
CFBundleTypeMIMETypes = ("text/plain");
CFBundleTypeName = "Plain text document";
CFBundleTypeOSTypes = (TEXT);
CFBundleTypeRole = Editor;
}
);
I have also provided my Info.plist with a (unique) CFBundleIdentifier
and a CFBundleSignature (and provided the various version strings).
What could I possibly be missing?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.