Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Skype Username Resolver
- -------------------------------------
- Author: HallerBoyo
- http://www.hackforums.net/member.php?action=profile&uid=2118178
- http://www.autohotkey.com/board/user/21149-flow-snake/
- Script: Skype Resolver.ahk v2.0
- Test computer: Windows 7
- License: WTFPL http://www.wtfpl.net/txt/copying/ 2014-01-23 02:33
- AHK Version tested on: AHK_L v1.1.14.01 x64 Unicode
- API Used: http://skype.freedumbs.net/api/
- ======================
- Version history of Skype Resolver
- ======================
- Below you find a list with the added features, changes and fixes for
- each version.
- *Fixed = Fixed a bugg/small issue.
- *Enchanted = Made/make something better.
- *bugg = A bugg thet have not yet been fixed.
- Version: 2.0
- ---------------
- - Fixed: Removed URLDownloadToFile and replaced with Req.Open("GET", _url).
- - Enchanted: Improved th GUI and added #SingleInstance, force, | SetWorkingDir, %A_ScriptDir%.
- - Bugg: Found a bugg opening multipay taps/instances with Firefox.
- - New feature: Added a new tray icon
- Version: 1.8
- ---------------
- - Fixed: Removed URLDownloadToFile and replaced with Req.Open("GET", _url).
- - Enchanted: made the core alot shorter and more flexible.
- Version: 1.5
- ---------------
- - Fixed: Removed the MsgBox and replaced it with Google chrome for better debugg testing.
- - New feature: Added URLDownloadToFile so it could download the IPs.
- Version: 1.0
- ---------------
- - New feature: Added the main code and a very simple GUI.
- - New feature: Added an MsgBox to show the output of _address so i could debugg it.
- Version: 0.5 alpha
- ---------------
- - written from scratch, tested, added the IPs manuelly to be able to get the RegExMatch right.
- */
- SetWorkingDir, %A_ScriptDir%
- #SingleInstance, force
- Gui, Add, Edit, x23 y30 w190 h20 vSID,
- Gui, Add, Button, x68 y70 w100 h30 , Resolve
- Gui, Font, S8 Cblue, Verdana
- Gui, Add, Text, x68 y10 w100 h20 , Skype Username
- Gui +LastFound +AlwaysOnTop
- Gui, Show, w241 h130, Skype Resolver V2.0
- return
- GuiClose:
- ButtonOK:
- Gui, Submit
- hStack := GetArray( "http://skype.freedumbs.net/api/" SID )
- While p:=RegExMatch( hStack, "{`""(?<type>.*?)`""[\h:]+`""(?<address>.*?)`""}",_, !p?1:StrLen(_)+p)
- {
- Run, % "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe http://www.ip-adress.com/ip_tracer/" _address
- }
- Exitapp
- GetArray( _url )
- {
- Req:= ComObjCreate("WinHttp.WinHttpRequest.5.1")
- Req.Open("GET", _url), Req.Send()
- Return Req.ResponseText
- }
Advertisement
Add Comment
Please, Sign In to add comment