Re: quitting Dock
Re: quitting Dock
- Subject: Re: quitting Dock
- From: Chris Nebel <email@hidden>
- Date: Sun, 17 Jun 2001 13:37:19 -0700
- Organization: Apple Computer, Inc.
email@hidden wrote:
>
why do I get an "End of file error" with the following?
>
>
tell application "Dock.app" to quit
Let me guess: you're trying to compile this, and the error points to the
closing quote of the "Dock.app" string? There's a very squinky bug in
Mac OS X 10.0.x that causes this. (I've fixed it, but it hasn't been
released yet.) It only causes a problem when trying to compile, and
should only affect applications that don't have a resource "fork", which
means most Cocoa applications (e.g. Mail, TextEdit) and a few special
cases like the Dock. If you quit Script Editor and relaunch it, it
should be ok.
--Chris Nebel
AppleScript Engineering