Custom property & selection of text

Devin Asay devin_asay at
Thu Jul 8 17:25:45 CDT 2004

On Jul 8, 2004, at 3:36 PM, Barry Levine wrote:


> ...but the scripting of this escapes me. I've looked at:
> get the customproperties["customKeys"] of field 1
> answer it
> ...but this returns nothing.
The property you want is the customKeys. You'll have to do it like this 
(untested, but this is the gist):

repeat with i = 1 to number of lines in the customeKeys of fld 1
   get line i of the customKeys of fld 1
   put "select" && it && "of fld 1" into cmd
   do cmd
   wait 2 seconds
end repeat

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

More information about the use-livecode mailing list