Skip to content

Instantly share code, notes, and snippets.

@lsfalimis
Created July 16, 2014 17:16
Show Gist options
  • Save lsfalimis/37027b6c8379cc2f3978 to your computer and use it in GitHub Desktop.
Save lsfalimis/37027b6c8379cc2f3978 to your computer and use it in GitHub Desktop.
copy Finder current path
tell application "Finder"
set thePath to POSIX path of (target of window 1 as alias)
set the clipboard to thePath
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment