Marlo Posted May 13, 2010 Posted May 13, 2010 (edited) For whatever reason my ISP has blocked access to the rapidshare.com website so I can;t download anything from there which sucks as I use it a lot but I have discovered that if you use the secure HTTP protocol (HTTPS) then the links work o_0 anyway I'm far too lazy to add the extra S to the protocol for each file I download so I made this little script Dim $sOldClip, $sNewClip, $sLink $sOldClip = ClipGet() While True $sNewClip = ClipGet() If $sNewClip <> $sOldClip Then If StringInStr($sNewClip, "rapidshare.com") Then $sLink = StringReplace($sNewClip, "http", "https", 1) ShellExecute($sLink) EndIf $sOldClip = $sNewClip EndIf sleep(50) WEnd It just watches your clipboard for rapidshare links and converts them to SSL before opening it. Hope that somebody finds it useful Regards ~Marlo Edited May 13, 2010 by Marlo Click here for the best AutoIt help possible.Currently Working on: Autoit RAT
wraithdu Posted May 13, 2010 Posted May 13, 2010 There are far better ways to watch the clipboard than that. Look into _ClipBoard_SetViewer and related functions. That sort of implementation might make a worthwhile example.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now