Created
July 24, 2015 08:23
-
-
Save darwin/f964ac5747a3e0bb1af7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set folder1 to (POSIX file "/Applications") as alias | |
tell application "Finder" | |
activate | |
delay 0.5 | |
tell application "System Events" to keystroke "t" using command down | |
delay 0.5 | |
set target of window 1 to folder1 | |
delay 0.5 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment