Skip to main content
PDF Automation Station
Community Expert
Community Expert
May 16, 2019
Answered

Access format field property with a script

  • May 16, 2019
  • 1 reply
  • 1930 views

Is it possible to extract the formatting property of a text field with a script?

This topic has been closed for replies.
Correct answer Thom Parker

No, all the field formatting options are actually predefined scripts. And there is no way from script, to get access to an existing script. It would be really helpful if you could, but you can't

1 reply

try67
Community Expert
Community Expert
May 16, 2019

What do you mean by "formatting property", exactly?

PDF Automation Station
Community Expert
Community Expert
May 16, 2019

In the field properties, the format tab where you can format numbers, dates, percentages, etc.  Is there a script that will tell what the formatting, if any, is for that field?

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
May 16, 2019

No, all the field formatting options are actually predefined scripts. And there is no way from script, to get access to an existing script. It would be really helpful if you could, but you can't

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often