• 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: Sending an image to Preview to preview the image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending an image to Preview to preview the image


  • Subject: Re: Sending an image to Preview to preview the image
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 7 May 2008 10:14:20 -0500

On May 6, 2008, at 5:08 PM, Kimo wrote:

My app produces a list of images (NSData format), and I'd like the app Preview to display the image when the user double-clicks on an image in my app.

Currently I use NSPerformService as shown below, which works, but Preview always asks to save the file when you close its window. I've seen other apps where you double-click an image and Preview opens a window with a title something like "Preview of ...." and it doesn't try to save the image when you close the window.

That sounds like what you get when you ask for a print preview. Maybe those apps are simulating a print preview request. With those other apps, does the Preview window have the Cancel and Print buttons on the bottom?


-Ken
_______________________________________________

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: Sending an image to Preview to preview the image
      • From: Bill <email@hidden>
References: 
 >Sending an image to Preview to preview the image (From: Kimo <email@hidden>)

  • Prev by Date: self registering NSValueTransformer and bindings
  • Next by Date: Re: Sending an image to Preview to preview the image
  • Previous by thread: Re: Sending an image to Preview to preview the image
  • Next by thread: Re: Sending an image to Preview to preview the image
  • Index(es):
    • Date
    • Thread