Add Download to Speed Download (Lite)


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

Ever needed to download a bunch of files, but annoyed by having to copy them all to Speed Download? This is for you..!

http://rapidshare.com/files/131035061/file1.rar
http://rapidshare.com/files/131049211/file2.rar
http://rapidshare.com/files/131051138/file3.rar

If this looks familiar, and you're ever bothered by copying the it, opening Speed Download, clicking "new download", pasting the chunk of text and clicking "add", this should make you happy.. At least I know it'll save me a lot of clicking and pressing..

I suggest you create a service in Automator and add it to your browser or all apps...

P.S. If you use the full version of Speed Download, please omit the "Lite" from "Speed Download Lite"..


Copy this code and paste it in your HTML
  1. tell application "Safari"
  2. set selecTxt to (do JavaScript "(getSelection())" in document 1)
  3. end tell
  4.  
  5. on splitText(delimiter, someText)
  6. set prevTIDs to AppleScript's text item delimiters
  7. set AppleScript's text item delimiters to delimiter
  8. set output to text items of someText
  9. set AppleScript's text item delimiters to prevTIDs
  10. repeat with i in output
  11. tell application "Speed Download Lite"
  12. AddURL i
  13. end tell
  14. end repeat
  15. end splitText
  16.  
  17. splitText(" ", selecTxt)

URL: http://cphcreatives.dk

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.