• 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: Stopping double clicking of a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping double clicking of a file


  • Subject: Re: Stopping double clicking of a file
  • From: development2 <email@hidden>
  • Date: Wed, 4 Oct 2006 13:29:30 -0600

Exactly what I need thank you so much. And sorry to everyone for all the chatter on the list.

thanks.
On Oct 4, 2006, at 1:23 PM, Eric Schlegel wrote:


On Oct 4, 2006, at 11:43 AM, development2 wrote:

Or I guess what I could do, is some how trap it before it opens the file, and show the Login window, and wait until a valid login, then I could open it. But i guess that would be the same thing, I need to be able to know if the file is double clicked.

I think what you need to do is provide an NSApplication delegate that implements application:openFile:, and put up your login window inside that method. See <http://developer.apple.com/documentation/ Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/ Reference/Reference.html#//apple_ref/occ/instm/NSObject/ application:openFile:>.


-eric



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Re: Stopping double clicking of a file
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Stopping double clicking of a file (From: development2 <email@hidden>)
 >Re: Stopping double clicking of a file (From: Hank Heijink <email@hidden>)
 >Re: Stopping double clicking of a file (From: development2 <email@hidden>)

  • Prev by Date: Re: Stopping double clicking of a file
  • Next by Date: Re: Stopping double clicking of a file
  • Previous by thread: Re: Stopping double clicking of a file
  • Next by thread: Re: Re: Stopping double clicking of a file
  • Index(es):
    • Date
    • Thread