In article <1152188415.029111.4990@[EMAIL PROTECTED]
>,
"Neel" <nilesh_ibmr@[EMAIL PROTECTED]
> wrote:
> I am trying to do file association with my application. I found some
> thread related to the same.
>
>
http://groups.google.co.in/group/comp.sys.mac.oop.powerplant/browse_thread/thr
>
ead/a64c4ec656acdaae/9f656a9b4bf6f3d4?q=click+on+file+and+open+application&rnu
>
m=9&auth=DQAAAHEAAAABFxdOMV9vO789R3WGUh_VLt1UustK-BRq7OsEqXEwGYw50rLjXQQtXMto7
>
Mr5zGLe8HrS_QDTPPKSOvxr_CO1WlG3mC8veyAbumDBrc8rS1KNV9jDMqtxI8bai3ZAn073ADat12p
> f8xR4P5KwGt5N0vDlt54bRTvpKG9pBWRfoA
>
> Exactly, My application save file with .SGF xnt, which contains some
> xml tags. I can save file anywhere on the local disk.
I reread the discussion liked by the above URL.
*) That archived discussion wasn't about the Finder, it was about the
NavPutFile dialog. Had we been talking about the Finder, we'd have
been discussing how you properly write an Info.plist file.
See:
http://www.google.com/search?q=CFBundleTypeExtensions+site%3Adeveloper.apple.com
*) I apologize for saying, in that discussion, "all uppercase" when I
meant "all lowercase".
*) Today, I'd advise: Make sure your Info.plist includes a
CFBundleDo***entTypes key with an array with dictionaries, each dict
with keys: CFBundleTypeExtensions CFBundleTypeIconFile
CFBundleTypeName CFBundleTypeOSTypes CFBundleTypeRole
LSItemContentTypes
See http://developer.apple.com/macosx/uniformtypeidentifiers.html
for more information on LSItemContentTypes.


|