needed: help in constructing a js (to run as a document action) to set the 'open settings' (on preferences [ctrl+k] > documents)
needed: help in constructing a js (to run as a document action) to set the 'open settings' (on preferences [ctrl+k] > documents)
this.zoomType = zoomtype.fitP; // fit-to-page
this.layout = "SinglePage"; // single-page-at-a-time layout
You cannot use a document-level script to make any changes to the user's preferences; change menus, compliance modes, etc. as this would breach the security sandbox model.