Home > InDesign Scripts > Zoom page

Zoom page

Well, for beginning, here is short and simple script to zoom page. There are a few approaches to selecting page, but for this I will use simplest method.

app.activeWindow.activePage = app.activeDocument.pages.item(0);

So, the first line, tells InDesign to set active page to number in parentheses. (remember that most InDesign app variables are Arrays, and first element in Array is element 0, so the first page is represented with 0) Second line is going to zoom page and fit it in window. Here are fitting options that you can use:


So, that’s it, nothing special, but sometimes so hard to find, especially when you are beginner.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: