Copy link to clipboard
Copied
I was wondering if there was a way to trigger the 'Remove Hidden Information' feature that Acrobat has through JavaScript. (I'd like to run this selectively on only documents which contain certain information, which is why I'm hoping to use JavaScript rather than the Action Wizard.)
If anyone has any thoughts on this or workarounds, I'd be grateful. Thank you!
No. JavaScript does not have access to that command.
Copy link to clipboard
Copied
No. JavaScript does not have access to that command.
Copy link to clipboard
Copied
Great, thank you for the quick reply! It's unfortunate that there isn't a way to do this, and it seems that there's not much that can be done for running an Action on documents selectively either. I'll just need to treat this as a multi step process if there's no workaround.
Copy link to clipboard
Copied
What do you mean by "running an Action on document selectively", exactly?
Copy link to clipboard
Copied
An example would be having a set of actions created in the Action Wizard, one of which is an Execute JavaScript action. If the JavaScript evaluates as true, continue with the next action. If the JavaScript evaluates as false, skip the remaining actions and move on to the next file.
It would be great if actions had this sort of depth, but it seems like it's not something that's supported by the Action Wizard.
Copy link to clipboard
Copied
It's not supported anywhere. JS can't interfere with other actions, it can only control itself.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now