Skip to content

Instantly share code, notes, and snippets.

@oldj
Created March 11, 2015 11:24
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oldj/6c8fcedc445c2f1c5850 to your computer and use it in GitHub Desktop.
Save oldj/6c8fcedc445c2f1c5850 to your computer and use it in GitHub Desktop.
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
@oldj
Copy link
Author

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