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

    Joined:
    Jul 8, 2008
    #1
    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

    gr8tfly

    Joined:
    Oct 29, 2006
    Location:
    ~119W 34N
    #2
    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

    Joined:
    Jan 12, 2010
    #3
    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

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

Share This Page