Instantly share code, notes, and snippets.

What would you like to do?
Send the front Finder window to Launchbar.
tell application "Finder"
set x to (folder of (front window)) as alias
set y to get POSIX path of (x as text)
end tell
tell application "LaunchBar"
set selection to y
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment