Re: Tell Launcher to quit
Re: Tell Launcher to quit
- Subject: Re: Tell Launcher to quit
- From: email@hidden
- Date: 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
and the definition of high level events includes "quit."
To further complicate the picture, this OneClick script works:
process("Launcher").quit
So the Launcher is responding to an AppleEvent, yes? But how do I send that
event from AppleScript?
Robert Kyle
Star Tribune
Minneapolis