• 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: Can't save compiled script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't save compiled script


  • Subject: Re: Can't save compiled script
  • From: Adam Bell <email@hidden>
  • Date: Mon, 9 Jan 2006 12:24:29 -0400

Works for me in 10.4.3

On 1/9/06, Andrea -XFox- Govoni <email@hidden> wrote:
Bill Cheeseman ha scritto:

> set winner to "7"
> display dialog "Pick a number from 1 to 10:" default answer ""
> if text returned of result is winner then beep
>
> Console reports this error upon attempting to compile the script:
>
> 2006-01-09 08:20:05.270 Script Editor[443] *** NSRunLoop ignoring exception
> '*** -[NSCFString substringWithRange:]: Range or index out of bounds' that
> raised during posting of delayed perform with target 61ace20 and selector
> 'updateElementsList:'

I tracked it down to this problematic command:

if "" is "" then beep

It seems to me that it is a bug.

--
Andrea "XFox" Govoni

AIM/iChat/ICQ: email@hidden
Yahoo! ID: xfox82
Skype Name: draykan

PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639  5C36 B7A0 605F 212E 69C1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (
 _______________________________________________
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

  • Follow-Ups:
    • Re: Can't save compiled script
      • From: Andrea -XFox- Govoni <email@hidden>
References: 
 >Can't save compiled script (From: Bill Cheeseman <email@hidden>)
 >Re: Can't save compiled script (From: Andrea -XFox- Govoni <email@hidden>)

  • Prev by Date: RE: similar strings
  • Next by Date: Re: [revisited] similar strings
  • Previous by thread: Re: Can't save compiled script
  • Next by thread: Re: Can't save compiled script
  • Index(es):
    • Date
    • Thread