Firefox - send tittel og url til TweetDeck


/ Published in: AppleScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. tell application "Firefox"
  2. activate
  3. tell application "System Events" to keystroke "l" using {command down}
  4. tell application "System Events" to keystroke "c" using {command down}
  5. set linken to the clipboard
  6. if the (count of windows) is not 0 then set tittel to name of front window
  7. set tweet to tittel & ": " & linken
  8. set the clipboard to tweet
  9. end tell
  10. open window of application "TweetDeck"
  11. tell application "TweetDeck"
  12. activate
  13. tell application "System Events" to keystroke "v" using {command down}
  14. end tell

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.