• 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: Paul Berkowitz <email@hidden>
  • Date: Sun, 24 Dec 2000 13:09:43 -0800

On 12/24/00 12:53 PM, "Bryan" <email@hidden> wrote:

> --Toggle Launcher
>
> --turns Launcher ON if not running and OFF if already running.
>
> --requires 'Sandi's Additons' and 'Akua' OSAXen
>
> set mylauncher to (((path to control panels) as text) & "Launcher")
> if "Launcher" is in (all processes) then
> tell application "Finder" to open file mylauncher
> TypeText "q" with Command
> else
> tell application "Finder" to open file mylauncher
> end if


Yes, Michelle Steiner already pointed that out two days ago. Your version
uses Sandi's Additions (you should probably say so?) while Michelle stuck
with the Sigma's Additions version with which I had tried with closed the
window which someone had suggested earlier as a solution (but which doesn't
work in OS 9). So this works too:

type text "q" holding down command -- Sigma's Additions

as Michelle said. Thanks for putting it all together in one script, which
also needs Akua Sweets for 'all processes'.

Interestingly, Akua's 'puppet menu' while in the Finder:

puppet menu {"File", "Quit"}

doesn't work here ("user interaction not allowed"), I guess because you
can't actually activate the application (since Launcher isn't an
application) and the Finder is no longer the prevailing application for the
Launcher in OS 9, as Chris Nebel just explained.

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Tell Launcher to quit
      • From: Bryan <email@hidden>
References: 
 >Re: Tell Launcher to quit (From: "Bryan" <email@hidden>)

  • Prev by Date: Re: Shutdown backup
  • Next by Date: Re: Tell Launcher to quit
  • Previous by thread: Re: Tell Launcher to quit
  • Next by thread: Re: Tell Launcher to quit
  • Index(es):
    • Date
    • Thread