• 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: Strange InDesign script misbehavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
	Can’t 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
  • Follow-Ups:
    • Re: Strange InDesign script misbehavior
      • From: Shane Stanley <email@hidden>
References: 
 >Strange InDesign script misbehavior (From: Roy McCoy <email@hidden>)
 >Re: Strange InDesign script misbehavior (From: Skeeve <email@hidden>)
 >Re: Strange InDesign script misbehavior (From: Roy McCoy <email@hidden>)
 >Re: Strange InDesign script misbehavior (From: Håvard Graudo <email@hidden>)

  • Prev by Date: Quicktime
  • Next by Date: Re: Strange InDesign script misbehavior
  • Previous by thread: Re: Strange InDesign script misbehavior
  • Next by thread: Re: Strange InDesign script misbehavior
  • Index(es):
    • Date
    • Thread