• 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: Alternative startup for application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative startup for application


  • Subject: Re: Alternative startup for application
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 2 Apr 2010 08:30:39 -0700

On Apr 2, 2010, at 1:45 AM, Gideon King wrote:

> 1. I'm not sure what keyboard or mouse options could be used for this, since all the character keys change the selection in Finder, and all the normal modifier keys are used for special functions. So first question is how I can differentiate this special mode open from a normal open?

The Option key is the usual thing. iTunes and iPhoto recognize it at startup, for example.

> 2. If the application is started up in this special way, how would I be able to detect it, seeing as there is no current event to query?

I would have said GetKeys(), but it seems to have been deprecated and removed in the eyeblink [read: decade] since I last used Carbon. There must be some modern equivalent for reading the current state of the keyboard?

—Jens_______________________________________________

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

  • Follow-Ups:
    • Re: Alternative startup for application
      • From: Quincey Morris <email@hidden>
    • Re: Alternative startup for application
      • From: Ashley Clark <email@hidden>
References: 
 >Alternative startup for application (From: Gideon King <email@hidden>)

  • Prev by Date: Re: NSDocument and the dreaded "The location of the document XXX cannot be determined"
  • Next by Date: Re: Alternative startup for application
  • Previous by thread: Alternative startup for application
  • Next by thread: Re: Alternative startup for application
  • Index(es):
    • Date
    • Thread