Re: Pasteboard and NSImage and Finder

2018-04-10 Thread Rob Petrovec
Nope. Pasteboard does not support ‘promised' data like drags do. Sorry. You could write them to a temporary folder (e.g. NSTemporaryDirectory()) and then stuff the URLs on the pasteboard. —Rob > On Apr 10, 2018, at 12:44 PM, Daniel Santos wrote: > > That thought

Re: Pasteboard and NSImage and Finder

2018-04-10 Thread Daniel Santos
That thought crossed my mind. I don’t want to write the file to disk, just have a NSFile object in memory, is that possible ? Daniel > On 9 Apr 2018, at 23:25, Rob Petrovec wrote: > > You need to put files on the pasteboard. Finder only plays with files, not > raw image

Re: Pasteboard and NSImage and Finder

2018-04-09 Thread Rob Petrovec
You need to put files on the pasteboard. Finder only plays with files, not raw image data. —Rob > On Apr 9, 2018, at 4:12 PM, Daniel Santos wrote: > > Hello all, > > I am pasting an array of NSImage to the general pasteboard. (using pasteboard > .writeObjects()) > I

Pasteboard and NSImage and Finder

2018-04-09 Thread Daniel Santos
Hello all, I am pasting an array of NSImage to the general pasteboard. (using pasteboard .writeObjects()) I would like to be able to paste the images onto Finder. What do I need to do ? Thanks in advance ___ Cocoa-dev mailing list