• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to retrieve file name when "Open with..." via Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to retrieve file name when "Open with..." via Finder


  • Subject: Re: How to retrieve file name when "Open with..." via Finder
  • From: David Dunham <email@hidden>
  • Date: Tue, 13 Oct 2009 09:22:28 -0700

On 13 Oct 2009, at 00:50, Jeff Ye wrote:

the first problem that i am facing is that , the "open with" command on MAC OS is graying out my application so the user has to change the options on the top from "Recommended applications" to "all applications" so that the user will be able to click on my application and select it

Did you set up a property list claiming the extension?

i did few tests on my application and i found that my application never receives the file name as an argument in the main.cpp and that was the reason of why it doesnt load the file

Mac applications get an "open document" Apple Event.

This is all pretty basic stuff, but now you know what to look for in the documentation.

David Dunham A Sharp, LLC
http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus Wirth



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to retrieve file name when "Open with..." via Finder (From: Jeff Ye <email@hidden>)

  • Prev by Date: Run Script phase - input folder (and children) as dependency?
  • Next by Date: Re: Run Script phase - input folder (and children) as dependency?
  • Previous by thread: How to retrieve file name when "Open with..." via Finder
  • Next by thread: Conversion .rsrc file to NIB
  • Index(es):
    • Date
    • Thread