Posted By

Macgeeky on 08/04/10


Tagged

applescript safari bookmarklet automator tweetdeck


Versions (?)

Safari - send tittel og url til TweetDeck


 / Published in: AppleScript
 

  1. tell application "Safari"
  2. set linken to (get URL of document 1) as string
  3. set tittel to (do JavaScript "document.title" in document 1) as string
  4. end tell
  5.  
  6. set tweet to tittel & ": " & linken
  7. set the clipboard to tweet
  8.  
  9. open window of application "TweetDeck"
  10. tell application "TweetDeck"
  11. activate
  12. tell application "System Events" to keystroke "v" using {command down}
  13. end tell

Report this snippet  

You need to login to post a comment.