Back to Mac Usenet

From: David Phillip Oster <oster@ieee
To: All
Subject: Re: File Association: Double-cl
Date:Sat, July 05, 2008 10:40 PM


In article <1152886826.247910.4630@m73g2000cwd.googlegroups.com>,
"Neel" <nilesh_ibmr@yahoo.com> wrote:

> Hi,
>
> I did make the changes in .plist file,
>
> <key>CFBundleDocumentTypes</key>
> <array>
> <dict>
>
> <key>CFBundleTypeRole</key>
> <string>None</string>
>
> <key>CFBundleTypeExtensions</key>
> <array>
> <string>sgf</string>
> </array>
>
> <key>CFBundleIconFile</key>
> <string>Hand.icns</string>
>
> <key>CFBundleTypeOSTypes</key>
> <array>
> <string>PCSL</string>
> </array>
>
> <key>LSItemContentTypes</key>
> <array>
> <string>.sgf</string>
> </array>
>
> </dict>
> </array>
>
>
> Still, my if i double click the .sgf file then application should start
> and open the same, but it gets open with TextEdit only. What changes
> should i make to open file with my application.

Pardon me. <key>CFBundleTypeRole</key> <string>None</string> means your
program doesn't open this kind of files. (it may just give them an icon.)

<key>CFBundleTypeRole</key> <string>Viewer</string> -- for basically
read-only access.

<key>CFBundleTypeRole</key> <string>Editor</string> -- for true editing
of such files.


7


Running TeleFinder Server v5.7.
© Copyright Spider Island Software