• 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: Minimizing current app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimizing current app


  • Subject: Re: Minimizing current app
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 24 May 2001 22:55:21 -0700

On 5/24/01 4:43 PM, "Scott Earleywine" <email@hidden> wrote:

> I want to be able to do hit a key (or combination of) to minimize the
> current/open/active application. Basically, I want to automate the process
> of going to the upper-right menu and choosing 'Hide foo-app'.
>
> Can I use AppleScript to do this? If so, can someone help out with the
> code?

We don't call it minimize, but yes. First, get OSA Menu (free) at
http://www.lazerware.com/ and install it.

Then save as a compiled script:

tell application "Finder" to set visible of (first process whose
frontmost is true) to false

give it a name and a keyboard shortcut according to the instructions that
come with OSA Menu (such as '\+O+u' for command-option-U) that isn't
otherwise taken by standard mac key combos or any app where you're likely
to try it, and put it in the Universal Scripts folder in Scripts folder in
System folder, again according to OSA Menu instructions. Then you can press
the key shortcut wherever you are and the front app will be hidden.

You could also write a similar script to hide all applications.



--
Paul Berkowitz


References: 
 >Minimizing current app (From: Scott Earleywine <email@hidden>)

  • Prev by Date: Re: Thanks and another question
  • Next by Date: Re: getting real numbers from string expressions
  • Previous by thread: Minimizing current app
  • Next by thread: Re: Minimizing current app
  • Index(es):
    • Date
    • Thread