From pasterboard to file
From pasterboard to file
- Subject: From pasterboard to file
- From: Lorenzo <email@hidden>
- Date: Sat, 09 Apr 2005 20:33:13 +0200
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@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden