Jump to content

URGENT:Need a script to automatically enter password and press the corresponding button on the input button


Recommended Posts

HI,

I am working on some IBM tool it has some security setting enabled which results in opening of a dialogue box asking for password and then press OK to proceed furhter.Just want to enter this password automatically so that it is not required to enter password again and again.

Please Help its urgent

Link to comment
Share on other sites

autoit installation folder *.chm -> or use scite to open the script then F1 for help

your code should go be similar to this

;
;
;
Opt("wintitlematchmode",4);

$mywindow_title = "MY WINDOW TITLE TO SEARCH FOR";

While True
    
    
    If WinExists($mywindow_title) Then

; send to entry field value  here 
; ....

; then click default button similar to this 
        ControlClick("Microsoft Internet Explorer","Die Seite kann ohne ein erneut","Button1")
        ConsoleWrite ("found ie wiederholen .. " &@CRLF);
    EndIf
    
    
    Sleep(2000)
    
WEnd
Link to comment
Share on other sites

No problem. If you have trouble after making a script, and need help, post what you have here, and we can see what needs to be done to get you up and running. It is important you post your code so we can see what the problem is. DON'T post your ID and password when you do it, for that is like giving away the keys to the kingdom....

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