AppleScript - Lion - New Finder window in current Space

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

  1. Starfox macrumors 6502


    Apr 7, 2011
    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

    Jun 8, 2009
    tell application "Finder"
    make new Finder window
    end tell

Share This Page