Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
Adobe PDF JavaScript 'app.execMenuItem("ZoomViewOut")' not working as document level script

I put the line

app.execMenuItem("ZoomViewOut");

into my PDF document's JavaScript section like this:

Document JavaScript

It turns up in the general JavaScript section like this:

//-------------------------------------------------------------
//-----------------Do not edit the XML tags--------------------
//-------------------------------------------------------------

//<Document-Level>
//<ACRO_source>Zoom Out</ACRO_source>
//<ACRO_script>
/*********** belongs to: Document-Level:Zoom Out ***********/
app.execMenuItem("ZoomViewOut");
//</ACRO_script>
//</Document-Level>

But it is not executed. Instead, it throws a "bad parameter" error:

bad parameter error

I believe however that it should work, since the command is in the safe commands list:

safe commands list

...as described in the Adobe JavaScript Reference Manual on p. 93:

Adobe JavaScript Reference Manual

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!