Re: quitting Dock
Re: quitting Dock
- Subject: Re: quitting Dock
- From: John W Baxter <email@hidden>
- Date: Sat, 16 Jun 2001 22:29:20 -0700
At 20:06 -0700 6/16/01, Paul Berkowitz wrote:
>
On 6/16/01 7:56 PM, "email@hidden" <email@hidden> wrote:
>
>
> At 1:59 pm -0400 16/6/01, email@hidden wrote:
>
>> Hi
>
>>
>
>> why do I get an "End of file error" with the following?
>
>>
>
>> tell application "Dock.app" to quit
>
>
>
> Dont know but this works:
>
>
>
> tell application "Dock"
>
> quit
>
> end tell
>
>
>
> (my one OSX applescript :-( )
>
>
>
>
>
That's right. It's not 'application "Dock.app"', it's 'application "Dock"'.
>
The '.app' is a file extension, not part of the application's name.
I started with
tell app "dock.app" to quit
The compilation left
tell application "Dock" to quit
Which worked fine several times (of course it doesn't last long).
--John
--
John Baxter email@hidden Port Ludlow, WA, USA