Jump to content

Help me with writing a simple code please


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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