Skip navigation.
 
mlFrom pasterboard to file
FROM : Lorenzo
DATE : Sat Apr 09 20:33:13 2005

Hi,
when I drag an object to the Finder I declare and fill the NSTIFFPboardType
in the pasterboard so at the end of the drag I get a file in the Finder
properly, with an arbitrary fileName "Picture clipping". Well
But if I declare and fill my own type MyPboardType with some data

    myTypes = [NSArray arrayWithObjects:MyPboardType, nil];
    [pboard declareTypes:myTypes owner:self];
    [pboard setData:someData forType:MyPboardType];

I cannot get any file in the Finder.
How to do that, and how to name the resulting file?
Thanks.
   

Best Regards
--
Lorenzo
email: <email_removed>

Related mailsAuthorDate
No related mails found.