• 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: Thu, 16 Aug 2007 10:26:41 -0400

> Exactly - the entire contents (beyond what will fit on the screen) as a
> list of filenames. In most cases a screenshoot will not be able to show
> the entire directory contents... thus requiring multiple screenshots.

  Stitching screenshots together to get a printalbe directory listing?

  < wise-ass > The 1990s called, it wants its computer workflow back.
< /wise-ass > ;-)

  Have you thought about this from a higher altitude at all? If you
want to create an image of a directory listing, why not:

1 - Ask Finder for the path in its frontmost window (via AppleScript)
2 - Using NSFileManager, get a list of the folder's contents to taste
3 - Populate an off-screen outline view with that list* (or some other method)
4 - Ask the view for its PDF data
5 - Optionally convert the PDF data to some other image format via NSImage
6 - Write the resulting data to a file

* I believe there's an example app in your developer folder that does
this already (albeit on-screen) and could be easily adapted to save
you a great deal of work.

  Wise-ass comment aside, this is probably (by far) the easier route,
both for you as a developer and for your users.

--
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: Paul Bruneau <email@hidden>
References: 
 >Re: Printing contents of the active Desktop window (From: email@hidden)

  • Prev by Date: Re: Custom Control Questions
  • Next by Date: Cocoa Bindings master-detail interface with sets of data in the detail part
  • Previous by thread: Re: Printing contents of the active Desktop window
  • Next by thread: Re: Printing contents of the active Desktop window
  • Index(es):
    • Date
    • Thread