Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

acrobat dc startup script?

New Here ,
Feb 18, 2016 Feb 18, 2016

I would like to embed a startup script that would automatically convert a PDF document to a fillable form upon opening the file (without having to select 'Prepare Form' and 'Start').    I know how to create script to add buttons but cannot find script to add the 'Detect Form Fields' to a startup script or button.

TOPICS
Acrobat SDK and JavaScript , Windows
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 18, 2016 Feb 18, 2016

It's not going to work. The results of the form wizard are far from perfect. It always requires manual correction and adjustments.

And after the first time you open the files it will just be a nuisance.

If you really want to do it use an Action with the "Detect Form Fields" command and run it once on all of your files.

Translate
Community Expert ,
Feb 18, 2016 Feb 18, 2016

What's the point? After you run it once there's no sense in running it over and over each time you open the file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016

There are over 500 pdf files (not yet forms) that will be used by novice users. It would be best if the PDF files could automatically be converted to forms rather than have to convert each one individually.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2016 Feb 18, 2016

It's not going to work. The results of the form wizard are far from perfect. It always requires manual correction and adjustments.

And after the first time you open the files it will just be a nuisance.

If you really want to do it use an Action with the "Detect Form Fields" command and run it once on all of your files.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016

Well, there are only 3 fields to detect so the form wizard results are working just fine.  I see your point though; scripting as a file open event won't work well.

I know how to set up the Action to 'Detect Form Fields'  -- how to I run it on all 500 files at once (they are all in the same file folder)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2016 Feb 18, 2016

Select that folder as the input source of the Action.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016

Great, I will try it and post the results here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016

Worked like a charm!

How can i edit the script to avoid the 'Save Changes' dialog box?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2016 Feb 18, 2016

Add a Save command after the Detect Form Fields one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016
LATEST

Worked perfectly.  Thank you try67!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines