home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / hypercar / 4647 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.5 KB

  1. Path: sparky!uunet!gatech!emory!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!km2a+
  2. From: km2a+@andrew.cmu.edu (Kenneth E. Mohnkern)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: Hi-liting a locked field
  5. Message-ID: <EfBpPiK00iVgM1m3wl@andrew.cmu.edu>
  6. Date: 22 Dec 92 07:57:02 GMT
  7. Article-I.D.: andrew.EfBpPiK00iVgM1m3wl
  8. Organization: Robotics Institute, Carnegie Mellon, Pittsburgh, PA
  9. Lines: 29
  10. In-Reply-To: <1992Dec22.144326.5978@mintaka.lcs.mit.edu>
  11.  
  12.  
  13. Excerpts from Mark H. Nodine@lcs.mit.e:
  14. > babb@sciences.sdsu.edu (J. Babb) writes:
  15. > |> When I "select cd fld chalkb" from a script, I get marching ants
  16. > |> (and the field tool goes active!!), but not selection like hitting the Tab
  17. > |> key will give me.
  18. > |> Anybody know a workaround or XCMD?
  19. >  
  20. > HyperCard has very obediently selected the field for you.  Oh,
  21. > you wanted to select the _contents_ of the field?  Try this:
  22. >  
  23. >   select line 1 to 32000 of cd fld chalkb
  24. >  
  25. > (You can actually compute how many lines to select:
  26. >  
  27. >   select line 1 to (the number of lines of cd fld chalkb) of cd fld chalkb
  28. >  
  29. > but the code I gave will work faster.)
  30.  
  31. An easier way out is to just say:
  32.    select text of cd fld chalkb
  33.  
  34.      ken
  35.  
  36.  
  37. # ken mohnkern #  multimedia specialist  &  graphic artist  #
  38.                # the graphics deli # the robotics institute #
  39.                # carnegie mellon university # pittsburgh pa #
  40.                #       "It's a big old goofy world."        #
  41.