Tyranlol Posted October 15, 2010 Share Posted October 15, 2010 (edited) Hello! As the title says, i want to automate the login to this page Here's my current script #include <IE.au3> HotKeySet("{DEL}","IE_Exit") Opt("WinTitleMatchMode", 2) $oIE = _IECreate ("http://www.autoitscript.com/forum/index.php?app=core&module=global§ion=login") _IELoadWait ($oIE) WinMove("Sign In - Windows Internet Explorer","",-1680,0,1680,1050) sleep(100) $o_form = _IEFormGetObjByName ($oIE, 0) $o_login = _IEFormElementGetObjByName ($o_form, 'Username') $o_password = _IEFormElementGetObjByName ($o_form, 'Password') $o_signin = _IEFormElementGetObjByName ($o_form, 'SignIn') $username = "Tyranlol" $password = "MyPassword" _IEFormElementCheckBoxSelect ( $o_form, "remMe", "", 0) _IEFormElementSetValue ($o_login, $username) _IEFormElementSetValue ($o_password, $password) _IEAction ($o_signin, "click") WinSetState ( "Internet", "", @SW_MAXIMIZE ) BlockInput(0) sleep(36000) 'Username' & 'Password' was the login ID's i could find while reading the page source. but those doesn't work apparently. any help? Thanks in advance! - Tyranlol Edited October 15, 2010 by Tyranlol [u]Only by Attempting the Impossible You Can Earn the Remarkable[/u] Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 15, 2010 Moderators Share Posted October 15, 2010 Tyranlol, I would you suggest you read this before you go any further. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Tyranlol Posted October 15, 2010 Author Share Posted October 15, 2010 (edited) Tyranlol, I would you suggest you read this before you go any further. M23 Aha, i see, thanks M23 for pointing it out. Sorry Autoitscript.com, pulling my thread back Edited October 15, 2010 by Tyranlol [u]Only by Attempting the Impossible You Can Earn the Remarkable[/u] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now