home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!srvr1.engin.umich.edu!NewsWatcher!user
- From: mdichter@hstbme.mit.edu (Mark Dichter, MD)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: SuperCard callbacks info request
- Followup-To: comp.sys.mac.hypercard
- Date: 22 Jan 1993 15:20:37 GMT
- Organization: Decision Systems Group/ Harvard Med
- Lines: 24
- Distribution: world
- Message-ID: <mdichter-220193101942@134.174.81.94>
- References: <18879@bunny.GTE.COM>
- NNTP-Posting-Host: 134.174.81.94
-
- In article <18879@bunny.GTE.COM>, jp07@gte.com (James Paschetto) wrote:
- >
- > Has anyone out there dealt with the callbacks detailed in SuperCard
- > Technical Note #6? I'm looking for a way to list all the SuperCard
- > project resources (not Mac resources, as in the resource fork) in a
- > project. Tech Note #6 gives the code for a couple of XCMDs that will
- > do this, but downloading an existing XCMD would be a LOT more time-
- > efficient for me.
- > Any help, pointers, horror stories would be appreciated.
- > Thanks.
- > Jim Paschetto
- > jp07@gte.com
-
- I have an XFCN:
- GetStarInfo(ResType) Returns list of resource names of given type
-
- You would have to run it for each type (snd,ICON,CURS,XFCN,XCMD,clut)
- or I could modify it to do all 6. It is effectively 16 lines of code and is
- set to allocate 10k for the list. If you have more resources, let me know.
- Note: it returns the names only, the IDs weren't important for my needs.
- Again, it can be done.
-
- Mark Dichter, MD
- mdichter@hstbme.mit.edu
-