• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tell Launcher to quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Tell Launcher to quit
      • From: Hans Haesler <email@hidden>
  • Prev by Date: telling remote Finder to say "Happy Holidays!" fails
  • Next by Date: Re: telling remote Finder to say "Happy Holidays!" fails
  • Previous by thread: Re: Tell Launcher to quit
  • Next by thread: Re: Tell Launcher to quit
  • Index(es):
    • Date
    • Thread