Sign in to follow this  
Followers 0
Dronzul

Help me with writing a simple code please

6 posts in this topic

Hey Scripters! :) anyone knows the command for going into internet explorer, go to hotmail, type in your username and password and login? Would really appreciate your help :evil:

Share this post


Link to post
Share on other sites



Dump :">

Share this post


Link to post
Share on other sites

Dump :">

<{POST_SNAPBACK}>

???????????? Thats "Bump" right ????????

here is what you asked for

#include <GUIConstants.au3>

Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe http://www.hotmail.com")
WinWaitActive("")
sleep(5500)
Send("your username here")
Sleep(500)
Send("{TAB}")
Send("your password here")
Sleep(500)
Send("{ENTER}")

your welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Or you could use COM with the BETA.


FootbaG

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Hey Scripters!  :)   anyone knows the command for going into internet explorer, go to hotmail, type in your username and password and login? Would really appreciate your help  :evil:

<{POST_SNAPBACK}>

Here's a code sample with the IE Automation UDF Library (note that I had to look at the webpage source to find the Form and FormElement names):

#include <IE.au3>

; Create a browser window and navigate to hotmail
$oIE = _IECreate()
_IENavigate($oIE, "http://www.hotmail.com")

; get pointers to the login form and username and password fields
$o_form = _IEFormGetObjByName($oIE, "f1")
$o_login = _IEFormElementGetObjByName($o_form, "login")
$o_passwd = _IEFormElementGetObjByName($o_form, "passwd")

; Set field values and submit the form
_IEFormElementSetValue($o_login, "your username here")
_IEFormElementSetValue($o_passwd, "your password here")
_IEFormSubmit($o_form)

Exit
Edited by DaleHohm

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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  
Followers 0