Created
November 18, 2016 09:32
-
-
Save futurist/efa4e99b7d72ae6da358895ceeae178a to your computer and use it in GitHub Desktop.
Put current Finder items to Eamcs in macOS
This file contains hidden or 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
# activate application "Finder" | |
tell application "Finder" to repeat with f in (get selection) | |
set p to POSIX path of (f as alias) | |
do shell script "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -f '/tmp/emacsserver/server' " & quoted form of p | |
end repeat | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment