• 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: Writing optimized screeshot utility.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing optimized screeshot utility.


  • Subject: Re: Writing optimized screeshot utility.
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 21 Nov 2007 08:20:37 -0800

On Nov 21, 2007 6:15 AM, Teemu Keinonen <email@hidden> wrote:
> Ok, figured it out myself. I get printouts now:
>
>     [NSApplication sharedApplication];
>      CGRegisterScreenRefreshCallback (MyScreenRefreshCallback, NULL);
>     [NSApp run];

Yeah you need an active connection to the window server and an active
runloop in the main thread.

-Shawn
_______________________________________________

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: Writing optimized screeshot utility.
      • From: "Teemu Keinonen" <email@hidden>
References: 
 >Writing optimized screeshot utility. (From: "Teemu Keinonen" <email@hidden>)
 >Re: Writing optimized screeshot utility. (From: Shawn Erickson <email@hidden>)
 >Re: Writing optimized screeshot utility. (From: "Teemu Keinonen" <email@hidden>)
 >Fwd: Writing optimized screeshot utility. (From: "Teemu Keinonen" <email@hidden>)

  • Prev by Date: [ANN] F-Script 2.0 alpha release & blog
  • Next by Date: Re: HUD button
  • Previous by thread: Fwd: Writing optimized screeshot utility.
  • Next by thread: Re: Writing optimized screeshot utility.
  • Index(es):
    • Date
    • Thread