Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Search for items and access your content [CS5.5] [JSX] [Win XP]

$
0
0

Hello!

 

How to find a textFrame with the label.

The problem is that it can be grouped or not, anywhere in the document.

 

A quick way I got was this: 

 

 

var myTextFrame;
myTextFrame = myDoc.allPageItems.item("myTest");
alert(myTextFrame.contents);

 

 

But I know that does not work well.

 

You can help me?

Thank you!

Elvis


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>