Copy link to clipboard
Copied
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.
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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)?
Copy link to clipboard
Copied
Select that folder as the input source of the Action.
Copy link to clipboard
Copied
Great, I will try it and post the results here.
Copy link to clipboard
Copied
Worked like a charm!
How can i edit the script to avoid the 'Save Changes' dialog box?
Copy link to clipboard
Copied
Add a Save command after the Detect Form Fields one.
Copy link to clipboard
Copied
Worked perfectly. Thank you try67!!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now