Working on a fairly complex script. (Well, complex for me.)
Attempting to have AS build a list of records. The code I have is:
set chockFull to {"roses", "petunias", "dasies", "breebleboxes"}
set fieldList to {}
repeat with thisname in chockFull
set newField to
{kind:check box, name:contents of thisname, value:unchecked state, selected:false}
set fieldList to fieldList & newField
end repeat
Which, so far, is resulting in:
Only one record, instead of four. I experimented with Akua Sweets, taking out the “set fieldlist.” line and replacing it with:
edit list fieldList using insertion (fieldList & newField)
.which results in an empty list.
I am using version 1.5.5 on 9.1. Does anyone have any insight/suggestions?