• 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: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:


  • Subject: Re: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 17 Mar 2008 10:06:09 -0700


On 17 Mar '08, at 9:56 AM, Ryan Chapman wrote:

In MaxPostProcessing.app, how can I determine the file that was the parameter passed to openFile: ??

In your class that's the NSApplication's delegate, implement the method

- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename;

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >In receiver application, getting file passed in from NSWorkspace openFile:withApplication: (From: Ryan Chapman <email@hidden>)

  • Prev by Date: Re: Simple question
  • Next by Date: Re: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
  • Previous by thread: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
  • Next by thread: Re: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
  • Index(es):
    • Date
    • Thread