• 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: Error -1700
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -1700


  • Subject: Re: Error -1700
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 13 Jun 2008 15:29:54 +0200


Le 13 juin 2008 à 14:41:04, Luther Fuller a écrit :


set AppleScript's text item delimiters to {"."}
(text items of (system version of (system info)) & {"0", "0", "0"}) as list of integer
(item 1 of the result) * 1000000 + (item 2 of the result) * 1000 + (item 3 of the result)


I can't test with 10.5.x on a PPC but with 10.4.11 on my G5, I must remove the "as list of integer" portion.

It seems that it matches the reported error message.

set AppleScript's text item delimiters to {"."}
(text items of (system version of (system info)) & {"0", "0", "0"}) -- as list of integer
(item 1 of the result) * 1000000 + (item 2 of the result) * 1000 + (item 3 of the result)


works flawlessly.

It seems that "as list of integer" is useless when it is not the wrongdoer.

Yvan KOENIG (from FRANCE vendredi 13 juin 2008 15:29:48)


_______________________________________________ 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: 
 >Error -1700 (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Error -1700
  • Next by Date: Re: Error -1700
  • Previous by thread: Re: Error -1700
  • Next by thread: osacompile
  • Index(es):
    • Date
    • Thread