Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Re: File Associ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 457 of 484
Post > Topic >>

Re: File Association: Double-click to open the application

by David Phillip Oster <oster@[EMAIL PROTECTED] > Jul 15, 2006 at 03:27 AM

In article <1152886826.247910.4630@[EMAIL PROTECTED]
>,
 "Neel" <nilesh_ibmr@[EMAIL PROTECTED]
> wrote:

> Hi,
> 
> I did make the changes in .plist file,
> 
> 	<key>CFBundleDo***entTypes</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.
 




 6 Posts in Topic:
File Association: Double-click to open the application
"Neel" <nile  2006-07-06 05:20:16 
Re: File Association: Double-click to open the application
David Phillip Oster <o  2006-07-06 15:20:38 
Re: File Association: Double-click to open the application
"Neel" <nile  2006-07-14 07:20:26 
Re: File Association: Double-click to open the application
David Phillip Oster <o  2006-07-14 14:46:45 
Re: File Association: Double-click to open the application
David Phillip Oster <o  2006-07-15 03:27:05 
Re: File Association: Double-click to open the application
"Neel" <nile  2006-07-17 05:55:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 23:14:13 CST 2008.