Last active
January 25, 2017 16:46
-
-
Save davidfmiller/027e90e46a701d0e48445c6166d1c134 to your computer and use it in GitHub Desktop.
Send current BBEdit document to LaunchBar
This file contains 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
try | |
tell application "BBEdit" | |
set mydoc to (URL of document 1 of window 1) as POSIX file | |
end tell | |
tell application "LaunchBar" | |
open mydoc | |
end tell | |
on error | |
beep | |
end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment