Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Navigating Pages in InDesign



On 6/16/06 8:24 AM, Buzz Hill wrote:

> How do you use AS to tell InDesign to display a
> particular page?
> You would think that something as simple as this would
> work.
> 
> tell application "InDesign CS2"
> tell document 1
> 
> go to page 4
> 
> end tell
> end tell
> 
> or 
> 
> show page 4

This is one operation where InDesign is anything but intuitive. Here's what
we use to switch the displayed page:

tell application "InDesign CS2"
    tell document 1
        set active spread of window 1 to parent of page 4
    end tell
end tell

Stan Cleveland
Color Technology Inc.
Portland, Oregon

"China is a big country inhabited by many Chinese." --Former French
President Charles DeGaulle


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Navigating Pages in InDesign (From: Buzz Hill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.