Jump to content

Recommended Posts

Posted

I need to access to this website https://downloads.autocount.com/, type in ID and password, hit Sign in. Currently I use the following code to click the pop up window for ID and password, but nothing happened. Any idea what did i do wrong?

#include <IE.au3>

Local $user = "myid"
Local $pw = "mypassword"


Local $oIE = _IECreate ("https://downloads.autocount.com/")
_IELoadWait($oIE)

Sleep(2000)

ControlSend("Windows Security", "", "[CLASS:Edit; INSTANCE:1]", $pw)

the x86 info is here 

>>>> Window <<<<
Title:  Windows Security
Class:  #32770
Position:   929, 277
Size:   547, 366
Style:  0x96C80A84
ExStyle:    0x00010101
Handle: 0x000B11EC

>>>> Control <<<<
Class:  Edit
Instance:   1
ClassnameNN:    Edit1
Name:   
Advanced (Class):   [CLASS:Edit; INSTANCE:1]
ID: 
Text:   
Position:   130, 108
Size:   238, 22
ControlClick Coords:    183, 19
Style:  0x500000A0
ExStyle:    0x00000000
Handle: 0x00081130

>>>> Mouse <<<<
Position:   1251, 440
Cursor ID:  0
Color:  0x000000

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
OK
Cancel


>>>> Hidden Text <<<<
Remember my credentials

Thank you so much for helping me.

Posted
13 minutes ago, FrancescoDiMuro said:

@CC_Mu

If you are automating IE stuffs, and you already have created IE object, why don't you keep using _IE* functions? :)

Take a look at _IEGetObjById(), _IEGetObjByName() and _IEPropertySet() in the Help file :)

Hey FrancescoDiMuro, thanks for replying me, because it is a pop-up window, I can not find its backend script, so I dont know how to use _IE* functions to interact with the pop up windows.

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
  • Recently Browsing   0 members

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