This content has been marked as final. Show 6 replies
You can try enclosing it in xml tags though.
Hm. Harbs answer is very absolute. So nobody found a good trick?
Yes, I could use XML, but when I do have XML content, it gets a bit nasty.
It all depends when those other scripts are going to run. If you know that there is no possibility of editing of the text having occurred between the marking and the running, then it is easy enough to record the character's relevant information.
But if editing might have occurred, then you are left with doing some kind of sneaky thing. If all the text is black, make a black_copy and change the fill color to that. Or set the gap color of the stroke to it or somesuch.
Conditional text has the benefit you could attach multiple conditions, but that is CS4 only.
Using swatches, I've been able to overcome this exact issue. The name of the colour/swatch can contain your "label" and may be referenced in that way. So instead of "every text frame whose label is/contains..." you can use:
set theMatches to object reference of every character of every story whose name of fill color contains "MyLabel"
This is in CS2
In case your swatches/colours are critical, couldn't you achieve the same result with naming CharacterStyles based on "None"?