Re: Tell Launcher to quit
Re: Tell Launcher to quit
- Subject: Re: Tell Launcher to quit
- From: Nigel Garvey <email@hidden>
- Date: Sun, 24 Dec 2000 00:55:39 +0000
email@hidden wrote on Sat, 23 Dec 2000 01:01:13 EST:
>
<<In a message dated 12/22/00 6:38:01 PM, email@hidden wrote
>
>
<<well, it is a control panel (cdev), and i dont think control panels can
>
quit.
>
try 'close'. >>
>
>
It won't quit or close. It won't go to the background and it won't become
>
invisible. There's just a whole bunch of things that don't work:
>
>
close process "Launcher" --"Can't get process \"Launcher\". Access not
>
allowed."
>
tell application "Launcher" to quit -- "Launcher can't be launched because
>
it
>
is not an application."
>
tell application "Finder" to close process "Launcher" -- nothing happens
>
tell application "Finder" to close file "Mac 3011 0S9:System Folder:Control
>
Panels:Launcher" -- nothing happens
>
>
however:
>
>
tell application "Finder"
>
accepts high level events of process "Launcher" -- true
>
end tell
It's obviously changed a bit since the OS 8.0 version that I've just dug
out of my "Control Panels (Disabled)" folder. That one doesn't show up as
a process at all, but it *can* be opened or closed at will (with Mac OS
8.6) either by file or - as Hans suggested - by window of file, or even
just by window.
tell application "Finder" to close (window of) file "Launcher" of the
control panels folder
tell application "Finder" to close window "Launcher"
Perhaps you should try to get hold of an earlier version - if it'll work
with OS 9, of course.
NG
PS. Happy Christmas to all! :-)