Re: Minimizing current app
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