AppleScript - Lion - New Finder window in current Space

Discussion in 'Mac Programming' started by Starfox, Aug 1, 2011.

  1. Starfox macrumors regular

    Joined:
    Apr 7, 2011
    #1
    I want to write an AppleScript that behaves exactly like right-clicking the finder dock icon and selecting new finder window - I want to open a new window, in my current space, pointing at the default new-window location. I tried recording a script but the result is a window that shows all devices opening in whatever space that has finder windows - not necessarily the one I'm on. Any ideas?
     
  2. jeresalem macrumors newbie

    Joined:
    Jun 8, 2009
    #2
    tell application "Finder"
    make new Finder window
    activate
    end tell
     

Share This Page