I’m trying to build a script that will go through every text frame in an Illustrator document and pull out text from text frames based on their sizes. Apparently I’m getting the syntax wrong in the line “set thissize to size of character 1 …” Any ideas?
tell application "Adobe Illustrator"
set textcount to count of every text frame of current document
repeat with j from 1 to textcount
set thissize to size of character 1 of text frame j of current document
if thissize is greater than 12 then set thisheadline to contents of text frame j of current document
end repeat
end tell