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 3 of 6 Topic 457 of 484
Post > Topic >>

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

by "Neel" <nilesh_ibmr@[EMAIL PROTECTED] > Jul 14, 2006 at 07:20 AM

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.



David Phillip Oster wrote:

> 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.
 




 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 21:39:38 CST 2008.