can’t seem to figure out what I’m doing wrong here
set currentStyles to {"FOO 100s color", "FOO 60s color"}
repeat with astyle in currentStyles
display dialog ("" & astyle)
set newStyle to "ASP" & " " & (text items 5 through -1 of astyle)
end repeat
this is the error I get
“Can’t make text items 5 thru -1 of item 1 of {"FOO 100s color", "FOO 60s color"} into type string.”
also if quit applscript an run it again it works fine
maybe a bug ???