Sign in to follow this  
Followers 0
Jaspreetcj

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

7 posts in this topic

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

Share this post


Link to post
Share on other sites



wait for active dialog, then enter in edit field whatever pw and then press enter (all code for this in the help files)

Share this post


Link to post
Share on other sites

wait for active dialog, then enter in edit field whatever pw and then press enter (all code for this in the help files)

where can i find these help filess..I am absolutely new to this forum..

thanks ...

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

where can i find these help filess..I am absolutely new to this forum..

When you are in the editor press: F1. Then the AutoIt helpfile opens. You can also start it in the start menu under AutoIt

My active project(s): A-maze-ing generator (generates a maze)

My archived project(s): Pong3 (Multi-pinger)

Share this post


Link to post
Share on other sites

When you are in the editor press: F1. Then the AutoIt helpfile opens. You can also start it in the start menu under AutoIt

Thanks a lot all of youuuuuuuuu...

Share this post


Link to post
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....

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