🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20822

Re: More specific Find in HyperCard

#20822
From: Victor M. Silva
Date: Tue, 27 Oct 1987 14:11
32 lines
1658 bytes
In article <9380@ut-sally.UUCP> brian@ut-sally.UUCP (Brian H. Powell) writes:
>
>I want the script for each button to bring up
>the message window with:
>
>	find "" in field "composer"
>or	find "" in field "title"
>
>where the cursor is in between the first double-quotes.
>     Seems to me that I want to use "put into message" or some variation.  Is
>this correct?
>
>	Problem 1)  How do I "put" a double-quote?
>	Problem 2)  How do I position the cursor?
>

    You can use the quote constant to place the double quotes into the msg
    window (ie. put "find" && quote & quote & ...).
    However, I think it would be better if you prompted the user with the
    ask command possibly with a default and then use the type command to
    initiate the search.  In this fashion you can keep the message window
    hidden.

  ask "Which composer?" with default
  type "find" && quote & it & quote "in field" & quote & "composer" & quote

  (Naturally, I didn't test this but I believe that it is basically
  correct).

						  -Victor M. Silva-
						  Cornell University
						   
Technical Details
Message-ID: <508@vax1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!vax1!jh7j
References: <9380@ut-sally.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!vax1!jh7j
From: jh7j@vax1.UUCP (Victor M. Silva)
Newsgroups: comp.sys.mac
Subject: Re: More specific Find in HyperCard
Message-ID: <508@vax1.UUCP>
Date: Tue, 27-Oct-87 09:11:48 EST
Article-I.D.: vax1.508
Posted: Tue Oct 27 09:11:48 1987
Date-Received: Fri, 30-Oct-87 04:50:20 EST
References: <9380@ut-sally.UUCP>
Reply-To: jh7j@vax1.UUCP (Victor M. Silva)
Organization: Cornell Computer Services, Ithaca NY
Lines: 32