• 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
Detecting screen capture in progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting screen capture in progress


  • Subject: Detecting screen capture in progress
  • From: David Catmull <email@hidden>
  • Date: Fri, 18 Apr 2014 16:42:22 -0600

How can I detect when a screen shot selection (cmd-shift-4) is in progress?

I have a custom window that I’m trying to make behave like a menu (it comes out of a status item). Part of this behavior is dismissing it when the user clicks on something else, which I detect using a CGEventTap. One case where I *don’t* want a click to dismiss is when it’s the start of a screen shot selection. Is there any way to detect this?
_______________________________________________

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


  • Prev by Date: Re: cocoapods: Problem with loading nib for a NSWindowController
  • Next by Date: Re: cocoapods: Problem with loading nib for a NSWindowController
  • Previous by thread: Re : Re: cocoapods: Problem with loading nib for a NSWindowController
  • Next by thread: Getting an index for NSMutableAttributed string using tags in RTF
  • Index(es):
    • Date
    • Thread