Jump to content

AutoLogin to Autoitscript.com


 Share

Recommended Posts

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&section=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 by Tyranlol
[u]Only by Attempting the Impossible You Can Earn the Remarkable[/u]
Link to comment
Share on other sites

  • Moderators

Tyranlol,

I would you suggest you read this before you go any further. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

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 by Tyranlol
[u]Only by Attempting the Impossible You Can Earn the Remarkable[/u]
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...