Copy link to clipboard
Copied
I want to get the text properties of the text location where my cursor is:
var doc = app.ActiveDoc;
var textLoc = doc.TextSelection.beg;
Any pointers would be appreciated.
Rick Quatro
Hi Rick,
According to the documentation, the Doc object has a GetTextProps method that expects a TextLoc. Seems to be exactly what you need. Page 477 of the FrameMaker 10 Scripting guide.
Jang
Copy link to clipboard
Copied
Hi Rick,
According to the documentation, the Doc object has a GetTextProps method that expects a TextLoc. Seems to be exactly what you need. Page 477 of the FrameMaker 10 Scripting guide.
Jang
Copy link to clipboard
Copied
Hi Jang,
Yes, that's exactly what I needed. I was looking for GetProps and I missed GetTextProps. Thank you very much.
Rick
Find more inspiration, events, and resources on the new Adobe Community
Explore Now