Re: Can't save compiled script
Re: Can't save compiled script
- Subject: Re: Can't save compiled script
- From: Andrea -XFox- Govoni <email@hidden>
- Date: Mon, 09 Jan 2006 16:57:36 +0100
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden