Posted By

Macgeeky on 08/04/10


Tagged

applescript Firefox bookmarklet automator tweetdeck


Versions (?)

Firefox - send tittel og url til TweetDeck


 / Published in: AppleScript
 

  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  

You need to login to post a comment.