• 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
HELP!! on Opining file at startup and D-N-D (newbie type question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HELP!! on Opining file at startup and D-N-D (newbie type question)


  • Subject: HELP!! on Opining file at startup and D-N-D (newbie type question)
  • From: Chris Roberts <email@hidden>
  • Date: Thu, 28 Mar 2002 11:19:16 -0700

I am trying to get the name of a file if dropped on my app or double clicked file to launch the app then do the file open routine I wrote for NSOpenPanel.

Here is what I am doing right now but it seems to be ignored IDEAS???


- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename
{
[self LoadFile:filename];
return YES;
}


Chris Roberts
email@hidden
_______________________________________________
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.

  • Prev by Date: Re: Icon Badges
  • Next by Date: Re: use AppKit;
  • Previous by thread: Cocoa & Printing
  • Next by thread: [ANN] DockDisks 1.0b1 released
  • Index(es):
    • Date
    • Thread