Skip to main content
zeRafio
Inspiring
June 4, 2025
Question

[Javascript] Initial view in doc properties

  • June 4, 2025
  • 1 reply
  • 343 views

I can't find how to save initial vue document properties on macOS in Acrobat DC.

What am I doing wrong?

 

this.addScript("initialView", "this.viewState = {pageViewLayoutMode:6, pageViewPageNum:3, pageViewZoomType:1};")

 

 

1 reply

try67
Community Expert
Community Expert
June 4, 2025

Try setting it directly, using this.pageNum, this.zoom, this.layout, etc.

zeRafio
zeRafioAuthor
Inspiring
June 4, 2025

You don't get it. I want to save the settings in the doc properties:

And I need to do it by script because it's a tiny part of a complex script.

try67
Community Expert
Community Expert
June 4, 2025

You can't set that using a script.