Re: Can't save compiled script
Re: Can't save compiled script
- Subject: Re: Can't save compiled script
- From: Martin Orpen <email@hidden>
- Date: Tue, 10 Jan 2006 12:09:11 +0000
On 10 Jan 2006, at 11:34, Andrea -XFox- Govoni wrote:
Please try again, here I can almost always reproduce the problem.
Make sure Console.app is open and that shows the console log.
Copy:
if "" is "" then beep
I get a similar problem to you with this script.
Pasting the line in a new Script Editor window and just leaving it
for a second or two will give an error in the Console:
2006-01-10 11:50:58.200 Script Editor[805] *** NSRunLoop ignoring
exception '*** -[NSCFString substringWithRange:]: Range or index out
of bounds' that raised during posting of delayed perform with target
362da0 and selector 'updateElementsList:'
Compile and run it (or just run it) and it will fail to do anything
first time and the console log will show another error:
2006-01-10 11:50:58.796 Script Editor[805] *** -[NSCFString
substringWithRange:]: Range or index out of bounds
Which looks like a bug in Script Editor as Script Debugger doesn't
have any problem running the script first time, every time.
Script Editor: Version 2.1.1 (81)
AppleScript: AppleScript 1.10.3
OS X: 10.4.3 - build 8F46
Regards
--
Martin Orpen
_______________________________________________
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