I want a Global macro to switch to finder and hide others.

Discussion in 'macOS' started by tvh13, Mar 8, 2010.

  1. tvh13 macrumors member

    Jul 8, 2008
    Can anyone suggest and easy and free way to create a macro that will switch to Finder and hide others from any application?
  2. gr8tfly macrumors 603


    Oct 29, 2006
    ~119W 34N
    You can use Automator to create an application/workflow to 1) launch the Finder and 2) Hide All Applications.

    Or, more simply: switch to the Finder (cmd-tab, click on the Desktop, or click on the Finder icon in the Dock), then opt-cmd-H to hide all other apps.

    edit: or do you mean lock out other users from running or launching applications?
  3. JustinVM macrumors newbie

    Jan 12, 2010
    here's a one line applescript...

    tell application "Finder" to set visible of every process whose visible is true and name is not "Finder" to false
  4. tvh13 thread starter macrumors member

    Jul 8, 2008
    Thanks. I dropped your script into Spark and set a hotkey and it works like a dream. Much appreciated.

Share This Page