Re: Tell Launcher to quit
Re: Tell Launcher to quit
- Subject: Re: Tell Launcher to quit
- From: Nigel Garvey <email@hidden>
- Date: Mon, 25 Dec 2000 00:37:13 +0000
Paul Berkowitz wrote on Sun, 24 Dec 2000 10:07:08 -0800:
>
tell application "Finder"
>
close window "Launcher"
>
end tell
>
>
even though window "Launcher" belongs to the Launcher desk application, not
>
to the Finder. Perhaps I misunderstood the writer.
>
>
When I checked myself in OS 9.0.4 (US), using the same
>
>
tell application "Finder" to get windows
>
>
that you used in 8.6 French, I did _not_ get
>
>
window "Launcher" of file "Launcher" of folder "Control Panels" of
>
folder "System Folder" of startup disk of application "Finder"
>
>
nor would I expect to. There's no such window in the Finder in OS 9. That
>
must have been a bug, or at least a terrible implementation of the Finder's
>
AppleScripting in OS 8.6 (and earlier, anyone)? I mean, it's just completely
>
wrong. How can you have a window of a file? It's totally against the object
>
model: Finder files simply don't have windows: look at the Finder
>
dictionary.
In the dictionary for the Finder in OS 8.6 (British), a file is a
sub-class of item, and items *can* have windows.
It looks very much as though from OS 9 on, the Launcher is an
application, whereas before that, it was something that latched itself
onto the Finder. In older OS versions, it does have a window that's
recognised by the Finder and it doesn't show up in the processes. If you
tell the Finder to quit, the Launcher does too. The same discussion
obvious doesn't apply to both earlier and later versions.
Now I must get to bed, or Santa won't bring me anything.
NG