Expand my Community achievements bar.

Set zoom and page display on open

Avatar

Level 2

Thought I would be able to set zoom (90%) and page display (Continuous) in Acrobat Pro Properties/Initial View before distributing my LiveCycle form, but realize now I can't.

What scripting would I use in LCD ES2 9.0 document targetted for 8.0 or later to set that?

                               Thanks!           ~Carol

4 Replies

Avatar

Level 10

Hi,

Here is a link to a PDF that gives the script for Acrobat menu items that are available (note some menu items are restricted for security reasons).

https://acrobat.com/#d=cA4a6N*cn-yiSL3SSH5QtQ

In the example, click the button for the menu item and copy the script from the dialog window into LC Designer.

Hope that helps,

Niall

Avatar

Level 2

That was very helpful - lots of good info there, all in one place. Thanks for sending!

Since I don't see anything specifically to set page display to Single-Continuous and Zoom to a specific percent (90%), I assume those options are not available?

Not the end of the world if they're not, just would be nice.

               Thanks!             ~Carol

Avatar

Level 10

Hi Carol,

If you have a look here you will see what menu items are available. Exporting XFA PDF from within Portfolio Paul uploaded a PDF which exposed menu items, but it transpired that some of these were restricted due to security reasons.

There is a single page available, but does not specify continuous:

app.execMenuItem("SinglePage");

Also the Zoom To, brings up a dialog window, which is probably not what you want.

app.execMenuItem("ZoomTo");

Good luck,

Niall

Avatar

Level 10

Hi Carol check this thread for zoom info:

http://forums.adobe.com/message/2060642#2060642

Not sure about setting to a specific percentage or continuous page mode.