/ Published in: AppleScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
tell application "Firefox" activate tell application "System Events" to keystroke "l" using {command down} tell application "System Events" to keystroke "c" using {command down} set linken to the clipboard if the (count of windows) is not 0 then set tittel to name of front window set tweet to tittel & ": " & linken set the clipboard to tweet end tell open window of application "TweetDeck" tell application "TweetDeck" activate tell application "System Events" to keystroke "v" using {command down} end tell