Copy link to clipboard
Copied
i know this is probably something simple i am missing. I am just trying to grab which text frames are selected so i can then (do something) to those selected.
here is what i am working with:
var myDoc = app.activeDocument;
var textFrame = myDoc.textFrames.selection[0];
for(var i = 0; i < textFrame.length; i++) {
var frameCount = textFrame[i];
}
alert("text frame amount:" + frameCount);
anyone have any ideas?
Have something to add?