Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!parc!masinter From: masinter@parc.xerox.com (Larry Masinter) Newsgroups: comp.sys.mac.hypercard Subject: Re: Accessing PICT resources from Hypercard Message-ID: Date: 24 Jun 91 03:18:31 GMT References: <1991Jun12.141757.14271@psych.toronto.edu> <49515@bcsaic.UUCP> Sender: news@parc.xerox.com Organization: Xerox PARC, Palo Alto, CA Lines: 22 In-Reply-To: vanover@bcsaic.UUCP's message of 14 Jun 91 18:23:21 GMT > stephan@psych.toronto.edu (Stephan Hamann) writes: >> >>Is there any way to either directly access >>the [PICT] resource[s in non-stack] files from Hypercard to read the >>images into a stack, >>or at least some way to automate pasting the images into a stack >>from the Scrapbook, once I've used ResEdit to fill up the Scrapbook >>with images from the resource files? It's been a while since I've been hyper-hacking, but at least for HyperCard 1.2.5, there were some XCMDs and XFCNs in the 'Developers Stack 1.3r' (in the usual info-mac archive) that did things like 'enumerate resources in a file', and 'copy resources from one file to another', and even one called 'importpict' that copied all of the pict resources from a file into a stac. Some combination of those ought to do the trick. -- Larry Masinter (masinter@parc.xerox.com) Xerox Palo Alto Research Center (PARC) 3333 Coyote Hill Road; Palo Alto, CA USA 94304 Phone: (415) 494-4365 Fax: (415) 494-4333