/ Published in: AppleScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
tell application "Safari" set linken to (get URL of document 1) as string set tittel to (do JavaScript "document.title" in document 1) as string end tell set tweet to tittel & ": " & linken set the clipboard to tweet open window of application "TweetDeck" tell application "TweetDeck" activate tell application "System Events" to keystroke "v" using {command down} end tell