• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: InDesign script Optimization and text frame threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign script Optimization and text frame threading


  • Subject: Re: InDesign script Optimization and text frame threading
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Feb 2006 10:53:46 +1100
  • Thread-topic: InDesign script Optimization and text frame threading

On 14/2/06 7:51 AM, "David Wolfe" <email@hidden> wrote:

> 1) Is there a better way to iterate through the pages in the document
> to make the script more streamlined and more flexible for different
> document lengths?
>
> 2) How can I script the threading of each overridden text frame to
> the one on the next (or previous) page?

This will do both:


        repeat with i from 1 to count of pages
            if i mod 2 = 0 then
                set newFrame to override myCreditFrameVerso destination page
page i
                set previous text frame of newFrame to text frame
"masterpageFrameRecto" of page (i - 1)
            else
                set newFrame to override myCreditFrameRecto destination page
page i
                if i > 1 then
                    set previous text frame of newFrame to text frame
"masterpageFrameVerso" of page (i - 1)
                end if
            end if
        end repeat


--
Shane Stanley <email@hidden>
AppleScript Pro Sessions NJ May 06 <http://www.scriptingmatters.com/aspro>


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: InDesign script Optimization and text frame threading
      • From: David Wolfe <email@hidden>
References: 
 >InDesign script Optimization and text frame threading (From: David Wolfe <email@hidden>)

  • Prev by Date: Re: File exists on a posix path
  • Next by Date: RE: quit saving "no" didn't work
  • Previous by thread: InDesign script Optimization and text frame threading
  • Next by thread: Re: InDesign script Optimization and text frame threading
  • Index(es):
    • Date
    • Thread