Skip to content

Instantly share code, notes, and snippets.

@davidfmiller
Last active January 18, 2019 18:06
Show Gist options
  • Save davidfmiller/66891dea76136e43384a0d6fefcfe7ee to your computer and use it in GitHub Desktop.
Save davidfmiller/66891dea76136e43384a0d6fefcfe7ee to your computer and use it in GitHub Desktop.
Send BBEdit document to LaunchBar
try
set mydoc to ""
tell application "BBEdit"
set mydoc to file of (document 1 of window 1)
end tell
tell application "LaunchBar"
open mydoc
end tell
on error e
beep
end try
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment