• 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: "running" property causes Script Editor nervous breakdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "running" property causes Script Editor nervous breakdown


  • Subject: Re: "running" property causes Script Editor nervous breakdown
  • From: Joe <email@hidden>
  • Date: Sat, 26 Apr 2008 11:59:34 -0700

Bill Cheesman wrote:

I have observed this behavior in the last several versions of Script Editor
on all of my PPC Macs. (I've never tried it on my wife's new Intel MacBook
Air.) It appears to be a long-standing bug in Script Editor.

My daughter just finished editing her video and I can confirm it is a bug on Intel Macs also (20" iMac 2007).


Console shows this message whenever I compile, open or run the script:

4/26/08 11:37:16 AM Script Editor[2001] *** -[NSCFString substringWithRange:]: Range or index out of bounds

I tried this construction and saw one change in behavior:

tell "AppleScript"
if not application "Safari" is running then tell application "Safari" to activate
end tell


This opens the script in Script Editor on the first try (double- clicking the script file) yet still inappropriately launches Safari. But it still doesn't work!

Joe
_______________________________________________
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
  • Prev by Date: Re: "running" property causes Script Editor nervous breakdown
  • Next by Date: Re: "running" property causes Script Editor nervous breakdown
  • Previous by thread: Re: "running" property causes Script Editor nervous breakdown
  • Next by thread: Re: "running" property causes Script Editor nervous breakdown
  • Index(es):
    • Date
    • Thread