home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / hypercar / 4898 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.4 KB

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