Can i copy text that's in a specific char. style to an anchored object using a script?
Hi,
i was just wondering, is it possible to copy words that are in a specific paragraph style to an anchored text frame, using a script.
For example this sentence:
Is this possible? Yes it is.
The whole sentence has the paragraph style ‘question’.
The sentence ‘Yes it is’ has a char. style ‘solution’.
Can a script cut all the words with char. style ‘solution’ and place it in an anchored text frame at the same spot?
I hope you understand what i’m trying to achieve.
This is a bit hard to explain in words.
regards
Arne
