Can I read text in a Text Frame from a plugin?
I tried
"if (annotation.type == Element.TEXT)”.
That runs but does not see the Text Frame text.
I tried
"if (annotation.type == Element.TEXT)”.
That runs but does not see the Text Frame text.
Do you still have an unanswered question? Please log in first to post your question.
Comments
A Frame is not an annotation, but a MeasureBase type thing, which is not accessible to Plugins.
You can get the text element from
curScore.selection.elements
if they are selected; but since they are excluded from range selections I don't think you can select them from within the API either.In reply to A Frame is not an annotation… by jeetee
Many thanks for the answer