• 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: Thu, 16 Feb 2006 08:30:30 +1100
  • Thread-topic: InDesign script Optimization and text frame threading

On 16/2/06 2:27 AM, "David Wolfe" <email@hidden> wrote:

> The  script runs fine if the first page is Recto, but gives the invalid
> parameter error if the first page is Verso. I have to be able to use  the same
> script whether the document begins Verso or Recto

Then try to override both master page items on each page; only the correct
one will work:


        repeat with i from 1 to count of pages
            try
                set newFrame to override myCreditFrameVerso destination page
page i
            on error -- must be recto
                set newFrame to override myCreditFrameRecto destination page
page i
           end try
                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

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

  • Prev by Date: Re: Another Shell Script question ftp
  • Next by Date: Re: Neophyte Question
  • Previous by thread: Re: InDesign script Optimization and text frame threading
  • Next by thread: Optimization and text frame threading
  • Index(es):
    • Date
    • Thread