[comp.sys.mac.hypercard] Help with Hypercard button

jacobson@uxe.cso.uiuc.edu (11/24/88)

/* Written  5:02 pm  Nov 22, 1988 by jacobson@uxe.cso.uiuc.edu in uxe.cso.uiuc.edu:comp.sys.mac */
/* ---------- "Help with Hypercard button" ---------- */
I am needing some help with Hypercard. Just starting to create a my first
stack, and I need to create a button which puts up the message box with
the following command script:
   
              find "" in field "<fieldname>"

What I want to do for the user is to have all the text in the find command
execpt for the text that he/she will be looking for. Is there anyway to
do this in my button script? If there is I am interested in knowing how
it can be.
 
Russ Jacobson
Illinois Geological Survey
Champaign, IL 61820
jacobson@uiucuxe
jacobson%uiucuxe@a.cs.uiuc.edu
jacobson%uiucuxe@uiuc.csnet
[ihnp4,pur-ee,convex]!uiucdcs!uiucuxc!uiucuxe!jacobson

/* End of text from uxe.cso.uiuc.edu:comp.sys.mac */

jacobson@uxe.cso.uiuc.edu (11/24/88)

/* Written  4:08 pm  Nov 23, 1988 by jacobson@uxe.cso.uiuc.edu in uxe.cso.uiuc.edu:comp.sys.mac */
I have just about solved my question of putting the following text into a
message box:

            Find "" in field "Genera & Species"

The script to do this in a button is as follows:
 
on mouseUp
  go next
  doMenu "Message"
  Put "Find "& quote & quote & " in field " & quote & B
  "Genera & Species" & quote into Message Box
  
end mouseUp
(the capital letter B after & in line 4 is a softreturn that did not print)

Now all I want to do when the message box comes up is have the I-bar cursor
inserted between the two quotes after find so that the user will simply be
able to type the word he/she is looking for in the indicated field. Is there
a way to do this easily with the basic tools hypercard provides? Or have I
gone as far as I can go with this button script??????

Russ Jacobson
Illinois Geological Survey
Champaign, IL
jacobson@uiucuxe
jacobson%uiucuxe@a.cs.uiuc.edu
jacobson%uiucuxe@uiuc.csnet
[ihnp4,pur-ee,convex]!uiucdcs!uiucuxc!uiucuxe!jacobson

/* End of text from uxe.cso.uiuc.edu:comp.sys.mac */