TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
70.1k
vbscript autologon not work for hotmail
Mar 13 2017 11:45 AM
HI ive got the following question. I made a script. however it keeps crashing on my email adres. It keeps saying it is not a valid email adres. It olso passes the values over the text that is already there ( default text to fill in emailadres, username or skype username).. Olso i can't press the button to login. it totlly freezes. BTW my email credentials are good. If i refresh the page and login with my credentials it works fine.
Olso . how can i puss the logon button automaticly ? i olso think i maybe used the wrong code.
script:
WScript.Quit Main
Function Main
Set IE = WScript.CreateObject(
"InternetExplorer.Application"
,
"IE_"
)
IE.Visible = True
IE.Navigate
"https://www.hotmail.com"
Wait IE
With IE.Document
.getElementByID(
"i0116"
).value =
"
[email protected]
"
.getElementByID(
"i0118"
).value =
"mypassword"
.getElementByID(
"idSIButton9"
)(0).click
End With
End Function
Sub Wait(IE)
Do
WScript.Sleep 500
Loop While IE.ReadyState < 4 And IE.Busy
Do
WScript.Sleep 500
Loop While IE.ReadyState < 4 And IE.Busy
End Sub
Sub IE_OnQuit
On Error Resume Next
WScript.StdErr.WriteLine
"IE closed before script finished."
WScript.Quit
End Sub
Reply
Answers (
0
)
How to resolve this error?
Please tell me how to use Configuration's save method