Jump to content

Unable to Enter Text in Box


Makmuud
 Share

Recommended Posts

In the process of doing some automation I stumbled upon the AutoIT tool.

I wrote a small script to automate installation of a tool (tool XYZ for naming Conventions) at work. I developed the script and compiled it on a windows 7 machine.

When I get to the following window the password is not entered.

Any suggestions would be greatly appreciated.

post-59905-12834623956977_thumb.jpg

CODE ******************************************

Run("C:\Documents and Settings\XXXXX\Desktop\Setup.exe")

WinWaitActive("Confidential")

Send("!n")

WinWaitActive("Confidential")

Send("!n")

WinWaitActive("Confidential")

ControlSend("Confidential", "", "Edit3", "Password")

CODE*************************************************************

Edited by Makmuud
Link to comment
Share on other sites

Since you are using "send" rather than commands...

Maybe...

Run("C:\Documents and Settings\XXXXX\Desktop\Setup.exe")
WinWaitActive("Confidential")
Send("!n")
WinWaitActive("Confidential")
Send("!n")
WinWaitActive("Confidential")
;ControlSend("Confidential", "", "Edit3", "Password")

Send("{TAB 3}") ; 3, 4 or 6 ... however many times
Send("Password", 1)

8)

NEWHeader1.png

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