Path: utzoo!attcan!uunet!husc6!endor!olson From: olson@endor.harvard.edu (Eric K. Olson) Newsgroups: comp.sys.mac.programmer Subject: Re: ResEdit Clipboard Format? Message-ID: <4758@husc6.harvard.edu> Date: 13 Jun 88 17:52:16 GMT References: <4717@husc6.harvard.edu> <3111@polyslo.UUCP> <351@piring.cwi.nl> <51261@ti-csl.CSNET> Sender: news@husc6.harvard.edu Reply-To: olson@endor.UUCP (Eric K. Olson) Organization: Lexington Software Design, Lexington, MA Lines: 32 I tried some experiments with ResEdit 1.2d0 to try to answer some questions regarding the format of ResEdit's scrap: When I copy a single resource of any type in ResEdit, open the ScrapBook, and paste it there, the four-letter type code for the resource appears in the Scrapbook window (lower right corner). "This item has no text or picture" appears in the main part of the Scrapbook window. This means that the Clipboard is getting the resource, and the Scrapbook it willing to "Import" it, but it doesn't know how to display it. I can exit ResEdit, (thus destroying ResEdit's local scrap and avoiding that confusion) re-launch ResEdit, create a new file, copy the the resource out of the Scrapbook, and paste it into the new file. NOTE: The resource loses its ID # when it passes through the system clipboard (presumably getting a UniqueID() number). If I copy multiple resources in ResEdit, and pass them through the system clipboard, only one comes out the other end. I didn't bother to figure out which one because if I want one, I'll only select one. I'm not sure that all versions of ResEdit work this way, because I have been in the habit of "Stealing" PICT resources by creating a dummy PICT in the scrapbook and replacing it with the PICT I wanted via ResEdit. I can't imagine I wouldn't have tried the above first (this was a good two years ago). So if your ResEdit doesn't work this way, go on down to your local Rent-a-center and look at all the new ResEdits for '88! -Eric Lexington Software Design: Tomorrow's Software Yesterday Eric K. Olson olson@endor.harvard.edu harvard!endor!olson D0760 (Name) (ArpaNet) (UseNet) (AppleLink)