So I've been thrashing about trying to come up with a way to retrieve/save multiple lines from each field. For retrieving, my thinking is that when the user selects a particular line in a list box, then if I could find that particular string in the field with the data saved as the custom property, then the next amount of items could easily be put into the relevant fields.
So here's my clumsy code (in the list field):
Code: Select all
on mouseUp pMouseBtnNo
set itemdel to "#"
put the selectedText of me into Thisone
find Thisone in field "Main"
put the number of item Thisone in field "Main" into tCount
put item tCount into field "A"
put item tCount + 1 into field "B"
put item tCount + 2 into field "C"
end mouseUp
