Advertisement
murksauce

auto_hmail

Nov 23rd, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Loginname := "test@hotmail.com"
  2. Password := "test"
  3.  
  4. URL := "https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=12&ct=1416672616&rver=6.4.6456.0&wp=MBI_SSL_SHARED&wreply=https:%2F%2Fmail.live.com%2Fdefault.aspx%3Frru%3Dinbox&lc=1033&id=64855&mkt=en-us&cbcxt=mai"
  5.  
  6. wb := ComObjCreate("InternetExplorer.Application")
  7. wb.visible := true
  8. wb.Navigate(URL)
  9. While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait for the page to load
  10. Sleep, 10
  11. wb.document.getElementById("i0116").value := Loginname
  12. wb.document.getElementById("i0118").value := Password
  13. wb.document.getElementsByTagName("INPUT")[3].Click()
  14. While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait for the page to load
  15. Sleep, 10
  16. Msgbox, Something like that i hope!
  17. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement