Created
March 11, 2015 11:24
-
-
Save oldj/6c8fcedc445c2f1c5850 to your computer and use it in GitHub Desktop.
Path Finder support for GhostNote
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
tell application "Path Finder" | |
set theSelection to the selection | |
if theSelection is equal to missing value or the (count of items in theSelection) is 0 then | |
set theSelection to the name of the front window | |
return theSelection | |
else | |
return path of (item 1 of theSelection) | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put this script in the "User Scripts Folder" of GhostNote.