Jump to content

Recommended Posts

Posted

Hi,

I am new to AutoIt and I need help regarding AutoIt script for Windows authentication. The below code works when my laptop is not locked.

But when it is locked, the program can't hit the enter button of the authentication window.

Please help me to resolve this.

AutoItSetOption("WinTitleMatchMode","2")

WinWait("Authentication Required")

$title = WinGetTitle("Authentication Required") ;

$UN=WinGetText($title,"User Name:")

ControlSend($title,"",$UN,"user1{TAB}");

$PWD=WinGetText($title,"Password:")

;Send("{TAB 1}")

ControlSend($title,"",$PWD,"pass{ENTER}");

Thanks,

Shirshendu

Posted (edited)

Hey. Welcome to Autoit forum:). First to all please check Forum Rules :).

Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects:

  • Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc.
You are free to make any apps to Auto-Login, Brute Forceing, etc. , but not ask for suport ... Edited by PlayHD

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