Jump to content
Sign in to follow this  
MarioFernando

Easy LogIn to Facebook and YahooMail

Recommended Posts

MarioFernando

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

Share this post


Link to post
Share on other sites
oMBRa

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.

Share this post


Link to post
Share on other sites
logmein

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

Share this post


Link to post
Share on other sites
nguyenbason

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

Share this post


Link to post
Share on other sites
MarioFernando

Totally agree. Send is the worst way for this.

thanx all of you for your replys..

i told its a basic script and it will need some suggesions....

well you all are welcome to leave suggestions or even sample scripts tp improve this script...

:)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.