0
Participant
,
/t5/indesign-discussions/js-select-text-frame/td-p/10301891
Feb 25, 2019
Feb 25, 2019
Copy link to clipboard
Copied
I am trying to select a text frame, but I don’t see a TextFrame property or method that will select a text frame. Please help me solve the problem.
var curDoc = app.activeDocument;
curDoc.pages[0].textFrames[0];
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Feb 25, 2019
Feb 25, 2019
Hi,
You should be able to use the select function on the Document object.
curDoc.select ( curDoc.pages[0].textFrames[0]);
Hope this helps
Malcolm
Community Expert
,
/t5/indesign-discussions/js-select-text-frame/m-p/10301892#M129821
Feb 25, 2019
Feb 25, 2019
Copy link to clipboard
Copied
Hi,
You should be able to use the select function on the Document object.
curDoc.select ( curDoc.pages[0].textFrames[0]);
Hope this helps
Malcolm
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
markp9652695
AUTHOR
Participant
,
LATEST
/t5/indesign-discussions/js-select-text-frame/m-p/10301893#M129822
Feb 25, 2019
Feb 25, 2019
Copy link to clipboard
Copied
It worked. Thank you, Malcolm.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

