Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Path Finder support for GhostNote
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
Owner
oldj commented Mar 11, 2015

Put this script in the "User Scripts Folder" of GhostNote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment