Re: Strange InDesign script misbehavior
Re: Strange InDesign script misbehavior
- Subject: Re: Strange InDesign script misbehavior
- From: Roy McCoy <email@hidden>
- Date: Tue, 23 Jun 2009 00:45:19 +0200
Håvard Graudo wrote:
Catch the error of the try block within the tell InDesign block.
The try block is royally long and you ignore any errors, so you will
not know what went wrong.
This is again the script at http://files.getdropbox.com/u/1107821/Convert guides to lines.scpt
. I'd already found out, through the placement of the beep, *where*
the problem apparently was:
set vWidth to page width of vPage
After commenting out "try" and "end try", I can see *what* the problem
apparently was:
Adobe InDesign CS3 [same in CS4] got an error:
Cant get page width of page id 198 of spread id 193
of document "Untitled-1CS3.indd".
I checked the class of vPage and it's page, so the problem with the
script seems to be that I can't get page width of a page. Anybody have
any idea why the author of the script can but I can't?
Thanks,
Roy McCoy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden