Safari - 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 "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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.