Skip to main content
Inspiring
January 10, 2019
Answered

Run preflight Profile in document

  • January 10, 2019
  • 2 replies
  • 2193 views

Hello friends, I would like to ask everyone's help to solve an issue. I created a verification profile for my documents in acrobat. Would you like to run it through some script, would that happen? Thank you for your help.

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

JavaScript "Preflight" method executes the named profile. So you'll need to know the profile name to use it.

For this type of operation, which you'll probably want to apply to several documents, the best option is to either create a folder level automation script or just run it from the console window.

Since it a one liner the console window is a good choice for starting out. Here's a video tutorial on it.

Free Video Content & Full Listing of Available Videos

Here's an article on automation scripts:

Automating Acrobat can save you loads of time.

2 replies

Thom Parker
Community Expert
Community Expert
January 10, 2019

Here's the entry for the "Preflight" method in the Acrobat JavaScript Reference:

Acrobat DC SDK Documentation

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
January 10, 2019

As Thom goes, thanks for the reply, I'm getting used to the indesign script pattern. How can I insert this code into acrobat? Anyway thank you. The name of my verification profile is "CHECK CONDITIONAL". Thank you.

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
January 10, 2019

JavaScript "Preflight" method executes the named profile. So you'll need to know the profile name to use it.

For this type of operation, which you'll probably want to apply to several documents, the best option is to either create a folder level automation script or just run it from the console window.

Since it a one liner the console window is a good choice for starting out. Here's a video tutorial on it.

Free Video Content & Full Listing of Available Videos

Here's an article on automation scripts:

Automating Acrobat can save you loads of time.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
January 10, 2019

You can use the preflight method of the Document object to do it.