Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!ncar!boulder!serre From: serre@boulder.Colorado.EDU (SERRE GLENN) Newsgroups: comp.sys.mac.hypercard Subject: Getting text into a script (was Re: fields script) Summary: I use command-click and get the message box Keywords: field, script Message-ID: <28840@boulder.Colorado.EDU> Date: 29 Oct 90 03:30:37 GMT References: <485@caslon.cs.arizona.edu> <1990Oct29.002315.3491@sics.se> Sender: news@boulder.Colorado.EDU Reply-To: serre@tramp.Colorado.EDU (SERRE GLENN) Organization: University of Colorado, Boulder Lines: 26 Greetings, I just thought this was an appropriate point to offer y'all the method I use to get text from a field into my script so I can use it. I have the user ( which is usually me) hold down the command key and click on the word that he would like to act on. This action 1) puts the word into the message box 2) shows the message box (BTW is there a way I can turn this off so I don't have to hide it later?) 3) Sends mouseUp to the field. Note that this method works in HC 1.2.x and HC 2.0. It works for text in a locked field (in HC 2.0, at least). It doesn't get all of a group of text (it only gets one word). Now for some questions: 1) Is there any way I can use this method to select grouped text (not just the one word)? 2) A repeat: How do I disable the message box before I command-click? Thanks in advance, please email (summaries of responses to my earlier posts will be posted after a suitable waiting period). Have a nice day :-) --Glenn Serre serre@tramp.colorado.edu