Skip to content

Instantly share code, notes, and snippets.

@anatomatic
Last active August 29, 2015 14:10
Show Gist options
  • Save anatomatic/6379a9e984fc0044f882 to your computer and use it in GitHub Desktop.
Save anatomatic/6379a9e984fc0044f882 to your computer and use it in GitHub Desktop.
Quicksilver Action - Copy Path
# Installation Instructions - Place this script into ~/Library/Application Support/Quicksilver/Actions/
on open theFile
try
set _count to count of theFile
if _count ≠ 1 then error "Choose one location only" number 1
tell me to set _filePath to POSIX path of theFile
set the clipboard to _filePath
end try
end open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment