Skip to main content
June 17, 2009
Answered

Where can I find the text fillColor for an empty TextFrame? [CS3]

  • June 17, 2009
  • 1 reply
  • 708 views

I've got a Javascript that needs the fillColor for text in a TextFrame.

You can set the text fill color on an empty frame and InDesign will use that value when you enter text...but before you enter text, where can I get this value?

Currently, for empty TextFrames I'm using pageItem.appliedObjectStyle.appliedParagraphStyle to retrieve the other settings. However, the "fillColor" value always appears to be (0,0,0,100).

Where might I find this value?

Thanks!

This topic has been closed for replies.
Correct answer Robert at ID-Tasker

hi,

try to read it from

pageItem.parentStory

robin

www.adobescripts.co.uk

1 reply

Robert at ID-Tasker
Robert at ID-TaskerCorrect answer
Legend
June 18, 2009

hi,

try to read it from

pageItem.parentStory

robin

www.adobescripts.co.uk

June 18, 2009

That did it..thanks!!!