• 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: Still trying to capture a filename...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still trying to capture a filename...


  • Subject: Re: Still trying to capture a filename...
  • From: email@hidden
  • Date: Fri, 1 Nov 2002 20:47:19 +0100

On vendredi, novembre 1, 2002, at 08:38 PM, Jerry LeVan wrote:

Earlier I requested assistance for launching an App by dragging a file onto
its icon ( and capturing the filename of the dragged file)

I have made a tiny bit of progress... If I paste:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>*</string>
</array>
<key>CFBundleTypeName</key>
<string>NSStringPboardType</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
</dict>
</array>

Into the info.list, the application *will* launch when a file is dropped on
the app's icon!

I don't seem to be able to make the modified info.list permanent. Every time
I rebuild the app, the info.list looses the CFBundleDocumentTypes entry :)

This information is built dynamically from the information you provided in the Target Panel.

1) Launch project Builder
2) Open your Project
3) Select the Target Vertical Pane
4) Select your Target
5) Select the Document Types line in the Info.plist Entries section on the right.
6) Fill it with your information
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Still trying to capture a filename... (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Still trying to capture a filename...
  • Next by Date: Re: metallized interface (offtopic rant)
  • Previous by thread: Still trying to capture a filename...
  • Next by thread: Re: metallized interface (offtopic rant)
  • Index(es):
    • Date
    • Thread