• 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: Printing contents of the active Desktop window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing contents of the active Desktop window


  • Subject: Re: Printing contents of the active Desktop window
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 15 Aug 2007 14:48:34 -0400

On 8/15/07, email@hidden <email@hidden> wrote:

> I am attempting to write a program (actually, a service) that will allow the user to print the contents of the currently active Desktop window.

  Well first you should explain what you mean by "Desktop window" ...
If you simply want the active window of the active application, you
can do this with AppleScript.

  Taking a screenshot, however, is a bit trickier, since I believe
you'll have to use the Accessibility API to ask that window for its
screen coordinates. You can then use those coordinates to determine
what area of the screen you want to capture.

  For all three topics (AppleScript, Accessibility, and screen
capture), search this list's archives; there are a number of threads
about them already. See also www.cocoadev.com ...

--
I.S.
_______________________________________________

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: Printing contents of the active Desktop window
      • From: Scott Thompson <email@hidden>
References: 
 >Printing contents of the active Desktop window (From: email@hidden)

  • Prev by Date: Re: consecutive open dialogs
  • Next by Date: Re: consecutive open dialogs
  • Previous by thread: Printing contents of the active Desktop window
  • Next by thread: Re: Printing contents of the active Desktop window
  • Index(es):
    • Date
    • Thread