• 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: Works in 10.5; -1719 Error in 10.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Works in 10.5; -1719 Error in 10.7


  • Subject: Re: Works in 10.5; -1719 Error in 10.7
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 04 Nov 2011 19:25:48 +0100

Le 3 nov. 2011 à 23:07, Rick Gordon a écrit :

> The following script works when run from Script Editor in 10.5.8, but apparently errors in 10.7, which I don't have installed. Someone reports that he gets a -1719 error when running from Script Editor in 10.7.2. I'm suspecting that it may relate to a difference in the handling of references. Does anyone have some input?
>
> [...]

Hello Rick,

Sounds like a "index is out of range in a put operation" error.
Would it be possible for you to have some more details about that error: where is it raised, which error message exactly, etc?

Anyway, going further with Shane's warnings, your script may depend on locales.
Here, on a french Lion system, an equal sign is a word separator; I thus get:

	words of "<navPoint id="navpoint" playOrder="4"><navLabel><text>Tips on Using This Book</text></navLabel><content src="0-FM00-TipsOnUsingThisBook.xhtml" /></navPoint>"
	--> {"navPoint", "id", "navpoint", "playOrder", "4", "navLabel", "text", "Tips", "on", "Using", "This", "Book", "text", "navLabel", "content", "src", "0", "FM00", "TipsOnUsingThisBook", "xhtml", "navPoint"}

and 'word after word after vPlayOrderWord' thus refers to "navLabel"...

HTH,
Axel

 _______________________________________________
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

References: 
 >Works in 10.5; -1719 Error in 10.7 (From: Rick Gordon <email@hidden>)

  • Prev by Date: Re: Works in 10.5; -1719 Error in 10.7
  • Next by Date: Applescript Users List Archives Down
  • Previous by thread: Re: Works in 10.5; -1719 Error in 10.7
  • Next by thread: Applescript Users List Archives Down
  • Index(es):
    • Date
    • Thread