Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Question about extracting text from Hypercard ... Message-ID: <44473@apple.Apple.COM> Date: 1 Sep 90 05:27:39 GMT References: <1990Aug28.160744.32733@eagle.wesleyan.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <1990Aug28.160744.32733@eagle.wesleyan.edu> esimon@eagle.wesleyan.edu writes: >How can I extract text from my hypercard stacks, for downloading >onto a mainframe ? You'll need to write a script using the HyperTalk commands "open file", "write to file", and "close file". Here is an example: on mouseUp open file "My Report" -- creates it if it doesn't already exist repeat with x = 1 to the number of cards write (field "Text" of card x) & return to file "My Report" end repeat close file "My Report" end mouseUp -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |