Jump to content

Recommended Posts

Posted

I have been trying to make a script that fills out a username/password window when IE connects to a server. im having problems with closing the script if IE connects to a server with no logon.

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE')

WinWait("Connect to server.xxx","")

If Not WinActive("Connect to server.xxx","") Then WinActive("Connect to server.xxx","")

WinWaitActive("Connect to server.xxx","")

Send("username{CTRLDOWN}{ALTDOWN}<{CTRLUP}{ALTUP}username{TAB}pass{SHIFTDOWN}pass{SHIFTUP}{ENTER}")

this script is abel to logon...

Posted

I'm not really sure what you're trying to do, could you be more specific?

Regardless, you might have better luck using some of the IE functions included with AutoIT. If you search for "IE" in the help file you should see a bunch. Good luck. :)

It is a waste of energy to be angry with a man who behaves badly, just as it is to be angry with a car that won't go. - Bertrand Russell

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