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

Calling Remove Hidden Information from JavaScript

New Here ,
Jul 09, 2017 Jul 09, 2017

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!

TOPICS
Acrobat SDK and JavaScript
1.1K
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 , Jul 10, 2017 Jul 10, 2017

No. JavaScript does not have access to that command.

Translate
Community Expert ,
Jul 10, 2017 Jul 10, 2017

No. JavaScript does not have access to that command.

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 ,
Jul 12, 2017 Jul 12, 2017

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.

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 ,
Jul 13, 2017 Jul 13, 2017

What do you mean by "running an Action on document selectively", exactly?

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 ,
Jul 15, 2017 Jul 15, 2017

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.

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 ,
Jul 16, 2017 Jul 16, 2017
LATEST

It's not supported anywhere. JS can't interfere with other actions, it can only control itself.

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