Jump to content

Easy LogIn to Facebook and YahooMail


Recommended Posts

This gives a basic GUI and two buuttons to log into facebook and yahoo Mail...

Just change the xxxxxx and yyyyy sections of the script and add your passwords.

Simple as that.

A little help for the GUI was taken by a guy in the forum. Ill find the name and post..

Any futher comments are welcome..

Report any bugs, All are welcome.

Change and compile.. Dont worry the password cannot be seen unless the script is decomplied!

#include <IE.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>


$GUI = GUICreate("Login To:",200, 50, 300, 300)
$facebook = GUICtrlCreateButton("Facebook", 100, 10, 100)
$yahoo= GuiCtrlCreateButton("Yahoo Mail", 0, -1,100)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $facebook
            logfacebook()
        Case $yahoo
            logyahoo()
    EndSwitch
WEnd


Func logfacebook()

$o = _IECreate ("http://www.facebook.com")
_IELoadWait ($o)

Sleep (500)
Send("yyyyyyyyyy");yyyyyy should be your facebook email address
Sleep (100)
Send("{TAB}")
Sleep (100)
Send("xxxxxxx");xxxxx should be your facebook password
Sleep (100)
Send("{ENTER}")
EndFunc

Func logyahoo()

$d = _IECreate ("http://www.yahoomail.com")
_IELoadWait ($d)

Sleep (500)
Send("yyyyyy");yyyyyy should be your yahoo user name
Sleep (100)
Send("{TAB}")
Sleep (100)
Send("xxxxxxxx");xxxxx should be your yahoo password
Sleep (100)
Send("{ENTER}")
EndFunc

Bye Guys,

Mario

:D

Link to comment
Share on other sites

I dont like it because it relies on Send, you should look deeper about _IE functions and you will see there is a function (i.e. _IEFormElementSetValue ) that sets the value of a specific form element, thus is more reliable than send.

Link to comment
Share on other sites

I do not like this program too, because, while the implementation of the func can not work any other. Send orders to replace the command by using IE, it can be run underground

Link to comment
Share on other sites

I dont like it because it relies on Send, you should look deeper about _IE functions and you will see there is a function (i.e. _IEFormElementSetValue ) that sets the value of a specific form element, thus is more reliable than send.

Totally agree. Send is the worst way for this.

UnderWorldVN- Just play the way you like it
Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...