Jump to content

FantasyLogin Program-- Newb that needs help


agertnas
 Share

Recommended Posts

I'm completely new, and I'm trying to figure out how to start a program which allows you to input Multiple user names and passwords, and which all work at different fantasy sports websites.

I want to put a login button in the GUI which initiates each user name and password to be logged in, opening a new IE window, and logs your user name and password in the appropriate text box of each fantasy site.

I'd appreciate any help offered. I've went through the autoit123 btw..

Link to comment
Share on other sites

What do you have so far? Post any code that you have, and people are more likely to help

Here is my code. It probably isn't a very good start as it might be completely in disarray, but i hope it isn't too bad.

CODE
#include <IE.au3>

#include <Guiconstants.au3>

#include <String.au3>

#Region --- IE-Builder generated code Start ---

$o_IE = _IECreate ()

_IENavigate ($o_IE, "")

Opt("GUICloseOnESC", 1)

Opt("TrayMenuMode", 1)

Opt("TrayOnEventMode", 1)

Dim $login1, $login2, $login3, $login4, $login5, $login6 = 1

Dim $pword1, $pword2, $pword3, $pword4, $pword5, $pword6 = 1

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Documents and Settings\Owner\Desktop\Myfirstscript\Fantasylogingui.kxf

$login = GUICreate("login", 633, 447, 205, 173)

GUISetBkColor(0x83B7E3)

$username = GUICtrlCreateLabel("User Name", 136, 88, 57, 17)

$password = GUICtrlCreateLabel("Password", 264, 88, 50, 17)

$uname1 = GUICtrlCreateList("", 119, 106, 113, 32)

$pword1 = GUICtrlCreateList("", 255, 106, 105, 32)

$uname2 = GUICtrlCreateList("", 119, 146, 113, 32)

$pword2 = GUICtrlCreateList("", 255, 146, 105, 32)

$uname3 = GUICtrlCreateList("", 119, 186, 113, 32)

$pword3 = GUICtrlCreateList("", 255, 186, 105, 32)

$uname4 = GUICtrlCreateList("", 119, 226, 113, 32)

$pword4 = GUICtrlCreateList("", 255, 226, 105, 32)

$uname5 = GUICtrlCreateList("", 119, 266, 113, 32)

$pword5 = GUICtrlCreateList("", 255, 266, 105, 32)

$uname6 = GUICtrlCreateList("", 119, 306, 113, 32)

$pword6 = GUICtrlCreateList("", 255, 306, 105, 32)

$login1 = GUICtrlCreateButton("Log In", 366, 107, 97, 25, 0)

$login2 = GUICtrlCreateButton("Log In", 367, 146, 97, 25, 0)

$login3 = GUICtrlCreateButton("Log In", 367, 187, 97, 25, 0)

$login4 = GUICtrlCreateButton("Log In", 368, 231, 97, 25, 0)

$login5 = GUICtrlCreateButton("Log In", 369, 270, 97, 25, 0)

$login6 = GUICtrlCreateButton("Log In", 369, 311, 97, 25, 0)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

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...