Select All in fields

Ken Ray kray at sonsothunder.com
Sun May 4 23:35:58 EDT 2008


> Cut Copy Paste and Clear are in the Edit menu of my standalone Mac
> app. I'd like to add "Select All" and am wondering if there is some
> standard way of doing this. I can think of how to code it myself but
> it seems like such a standard thing that it makes me wonder if there
> is some checkbox I need to select to just make it happen.

Not a "one click" thing, Kee... but it's a one-liner if all you care about
is basic editable fields (i.e. not list fields):

  if the selectedField is not empty then \
      select the text of the selectedField

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list