I thought it might be highlitedline but the following code doesn't work to do that. Basically I'm after a text box user entry, a user-pressed return, the text entry added to the end of a list field, then that last line of the list field automatically highlighted (as if mouse-selected):
Code: Select all
on returninField
set the listBehaviour of me to true
put return after line -1 of field "List Field"
put me after line -1 of field "List Field"
set the Hilitedline of field "List Field" to -1
end returninField