Copy link to clipboard
Copied
Dear Friends,
How can I get the relevant text (document text)? Please see my below screenshot:
My code:
var doc = app.activeDocument;
var pdfComments = doc.pdfComments.everyItem().getElements();
var pdfCommentsLength = pdfComments.length;
for (var n=0; n<pdfCommentsLength; n++ ){
var pdfCommentsDoc = pdfComments
//Also, i need to get the relevant text??? HOW!
}
This is possible??
Here with, i have checked data browser in the relevant properties is not there. Please suggest friends.
Thanks,
SK
Copy link to clipboard
Copied
Hi SK:
I'll move this question to the InDesign Scripting forum for you so that you can get the answer you need.
~Barb
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Friends,
Any suggest for my above question? Please answers for this, possible or not?
Thanks
Karthik S
Copy link to clipboard
Copied
Hi Karthik,
This is already discussed in another thread with some thorough investigation on the matter and the results so far seem to point that the there is no way to access the selected text via scripting atleast. Have a look at the discussion at the following link
Re: pdfComments with commentType == UNDERLINE_TEXT_TYPE -- how to access
-Manan
Copy link to clipboard
Copied
Hi Karthi,
Is their any update for your request
Regards,
Praveen