Re: Tell Launcher to quit
Re: Tell Launcher to quit
- Subject: Re: Tell Launcher to quit
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 23 Dec 2000 00:35:21 -0800
On 12/23/00 12:09 AM, "Michelle Steiner" <email@hidden> wrote:
>
On 12/22/00 11:51 PM, Hans Haesler <email@hidden> wrote:
>
>
> try this one:
>
> ---
>
> tell application "Finder"
>
> close window of file "Launcher" of folder "Control Panels" of folder
>
> "System Folder" of startup disk
>
> end tell
>
> ---
>
>
--> Finder got an error: Window must be open to use this command
>
>
The window was open.
>
Yes, but it's not a Finder window. The Finder doesn't know anything about.
Try asking the Finder to close a window of any other application and you'll
get the same error. You have to tell the application, if it has "window" in
its dictionary, that is. The difference here is the Launcher "is not an
application" so you can't tell it anything.
--
Paul Berkowitz