Jump to content

Winexists than search for textbox

Recommended Posts

I have an EXE call it myprogram.exe

It has a login dialog. When i open exe that dialog opens.

I need to enter my default passwords regarding to script type.

* Script will check for the dialog frequently. I make it with this.



While 1



* My function is like this:


Func Myfunction()

If WinExists("My window name") Then

WinActivate("My window name")

Send username and password here

Send("(ENTER DOWN)")

Send("(ENTER UP)")



My need is, function will check for the "textbox" of username and password.

If window exists these two textboxes, data will be entered to textbox.

When i close and reopen the EXE, script will check for that window again and enter password if textarea exists again.

Which commands should i use to check whether a window has a textbox, thank you

Link to post
Share on other sites

And I thought disussing Auto-Login bots isn't allowed here. Damn... ;) Did you really have a look at the forum rules? Take your time: http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/.

ANOTHER SUGGESTION: Write in big letters bro. My vision is correct but have pitty on those with bad vision...

Good luck.

Edited by MKISH


:bye: Hey there, was I helpful?


My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

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

    No registered users viewing this page.

  • Create New...