Re: InDesign script Optimization and text frame threading
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