Created
September 22, 2010 08:46
-
-
Save lionicsheriff/591373 to your computer and use it in GitHub Desktop.
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
tell application "Firefox" | |
activate | |
set the_title to name of first window | |
tell application "System Events" | |
key code 53 # escape key | |
delay 1 | |
keystroke "l" using {command down} | |
delay 1 | |
keystroke "c" using {command down} | |
delay 1 | |
set the_url to «class ktxt» of ((the clipboard as text) as record) | |
key code 53 # escape key | |
end tell | |
end tell | |
tell application "Notational Velocity" | |
activate | |
delay 1 | |
tell application "System Events" | |
key code 53 #escape key | |
keystroke the_title | |
keystroke return | |
keystroke the_url | |
keystroke return | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment