Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!husc6!bbn!aoa!dean From: dean@aoa.UUCP (Dean Wormell) Newsgroups: comp.sys.mac.hypercard Subject: Universal Import Button from WINDOID, Issue 3 Message-ID: <514@aoa.UUCP> Date: Sun, 1-Nov-87 09:47:06 EST Article-I.D.: aoa.514 Posted: Sun Nov 1 09:47:06 1987 Date-Received: Thu, 5-Nov-87 07:49:40 EST References: comp.sys.mac posting of WINDOID, Issue 3 Reply-To: dean@aoa.UUCP (Dean Wormell) Distribution: na Organization: Adaptive Optics Assoc., Cambridge, Mass. USA Lines: 38 Keywords: I can't make it work - Help hypermunch, munch... Hi, I am a novice Hypertalk hacker, so please understand if I'm missing the obvious here... In the last posting of WINDOID (Issue 3), there was a button script (Universal Import Button, by Gary Bond, Rev. 2.2) for importing text and data into HyperCard. I copied the script, created a new stack with standard backround buttons (Home, etc...), created a field for imported text, and created a button that contained the copy of the import script. The first thing I noticed was that all the answer commands required the insertion of quotation marks, which I added. Then, when running the script, it would not get past the line: answer "Import text file as:" with "Data" or "Text" or "Cancel" Upon pressing any of the three buttons, I would get an error message stating "Can't understand what comes after=" or something similar to that. I searched for an =, and found one in a repeat command. Replacing the = with of did not help. The funny thing is that in other script error messages, (I've seen a few :-)), when you press the goto script button, you exit to the error in the script. With this error, you exit to the first line in the script (on mouseUp). Do I need to put some other scripts in the background or card to make this work, or what? Help, please! -- Dean Wormell ...!{harvard,ima}!bbn!aohow, de