Send to list field

Dan Shafer dan at
Sat Aug 3 23:18:01 EDT 2002

>How do I simulate clicking a line in a list field from a script.
>I know how to hilite a line in the list field. I tried sending a mouseup but
>that does not work. I do have code in the mouseup handler of the field.
>on script
>     set the hilitedline of field x to 3
>     send "mouseup" to field x
>end script

That basic script works fine for me. The mouseUp handler of the field 
gets executed. So there may be a bug or logic error in the mouseUp 
handler. Have you tried doing this with something simple in the 
mouseUp handler like "beep" or something?

>use-revolution mailing list
>use-revolution at

Dan Shafer
Writer, Spiritual Student and Teacher
Founder, Fellowship of One Mind, Monterey, CA

More information about the use-livecode mailing list