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
On May 7, 2008, at 8:14 AM, Ken Thomases wrote:
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,
On May 7, 2008, at 10:56 AM, Bill wrote:
I'm embarrassed to say that you're correct. What I remembered was a
print preview, and it bypassed the regular print window and Preview
button. Instead the image went directly to the preview with the
Cancel and Print buttons at the bottom. I just
On May 7, 2008, at 9:46 AM, Ken Thomases wrote:
On May 7, 2008, at 10:56 AM, Bill wrote:
I'm embarrassed to say that you're correct. What I remembered was
a print preview, and it bypassed the regular print window and
Preview button. Instead the image went directly to the preview
with
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
Thoughts:
1. Why not build your own preview panel/window? It's remarkably easy
to do if you already have the image data in an NSData object.
2. If you must use Preview, you could write the image to a temp file
and tell Preview to open that via NSWorkspace's -
openFile:withApplication:
On May 6, 2008, at 3:31 PM, Michael Watson wrote:
Thoughts:
1. Why not build your own preview panel/window? It's remarkably easy
to do if you already have the image data in an NSData object.
True, but preview has other advantages, such as saving the file to
various formats. Sure I could
On May 6, 2008, at 5:40 PM, Bill wrote:
On May 6, 2008, at 3:31 PM, Michael Watson wrote:
Thoughts:
1. Why not build your own preview panel/window? It's remarkably
easy to do if you already have the image data in an NSData object.
True, but preview has other advantages, such as saving
On May 6, 2008, at 3:50 PM, Ricky Sharp wrote:
For another feature of the app (which also generates PDF), I changed
the workflow to first run an NSSavePanel to let the user specify
file name and location. I then generate the PDF at that location
and launch Preview to open it. I'm not sure