Sign in to follow this  
Followers 0
realkiller

login

7 posts in this topic

#1 ·  Posted (edited)

how can i auto login into a website with this?

#include <GUIConstants.au3>

$Form1 = GUICreate("24 Help Tool", 1096, 822, 118, 85)
$Tab1 = GUICtrlCreateTab(0, 0, 1096, 822)
$TabSheet1 = GUICtrlCreateTabItem("ISIS")
$Group1 = GUICtrlCreateGroup("", 8, 32, 1081, 785)
$AObj1 = ObjCreate("Shell.Explorer.2")
$AObj1_ctrl = GUICtrlCreateObj($AObj1, 10, 40, 1077, 776)
$AObj1.navigate("http://isis.yi.org/")

GUICtrlCreateGroup("", -99, -99, 1, 1)
$TabSheet2 = GUICtrlCreateTabItem("Rollercoaster")
GUICtrlSetState(-1,$GUI_SHOW)
$Group2 = GUICtrlCreateGroup("", 8, 32, 1081, 785)
$AObj2 = ObjCreate("Shell.Explorer.2")
$AObj2_ctrl = GUICtrlCreateObj($AObj2, 10, 40, 1077, 774)
$AObj2.navigate("http://sddportal.yi.org/tools/rollercoaster/main.html")

GUICtrlCreateGroup("", -99, -99, 1, 1)
$TabSheet3 = GUICtrlCreateTabItem("Support Center")
GUICtrlSetState(-1,$GUI_SHOW)
$Group3 = GUICtrlCreateGroup("", 8, 32, 1081, 785)
$AObj3 = ObjCreate("Shell.Explorer.2")
$AObj3_ctrl = GUICtrlCreateObj($AObj3, 10, 40, 1077, 774)
$AObj3.navigate("http://scaprd.upc.biz/sdchealtop")

GUICtrlCreateGroup("", -99, -99, 1, 1)
$TabSheet3 = GUICtrlCreateTabItem("Aspect")
GUICtrlSetState(-1,$GUI_SHOW)
$Group3 = GUICtrlCreateGroup("", 8, 32, 1081, 785)
$AObj3 = ObjCreate("Shell.Explorer.2")
$AObj3_ctrl = GUICtrlCreateObj($AObj3, 10, 40, 1077, 774)
$AObj3.navigate("http://goe-aspectns-01.corp.twenty4help.com/EAMWeb")






GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;;;;;
    EndSelect
WEnd
Exit
Edited by realkiller

Share this post


Link to post
Share on other sites



Well how do you login normaly ?? I tried the first adress http://isis.yi.org/ and all i got was No Permission


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Have a look in the helpfile for

_IECreateEmbedded

_IECreate

_IEAttach

GUICtrlCreateObj

I used that to our internal system, they might work


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

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