RabidDonkey Posted November 24, 2008 Posted November 24, 2008 Hey all, New to the application. I searched for this, sorry if it has been answerd before. I am trying to automate a login process, and am having difficulty with the password. In the password is a # sign and I do not belive that autoit is sending the # sign. To test if a # is being sent, I put a # in the username and recompiled, no # was sent there either. IS there a command that needs to be in before this can be sent. Here is the code. Send("username{TAB}prod{TAB}pass#word{ENTER}") Any help would be greatly appreciated. Rabid
Valuater Posted November 24, 2008 Posted November 24, 2008 (edited) Like this... Run("notepad.exe") WinWaitActive("") Send("username") Send("{TAB}") Send("prod") Send("{TAB}") Send("pass#word", 1) Send("{ENTER}") BTW:... Welcome to the Autoit Forums!.... 8) Edited November 24, 2008 by Valuater
RabidDonkey Posted November 24, 2008 Author Posted November 24, 2008 Thanks Valuater, That seemed to work. I guess my question about it though is why can't it be sent in one long string like I had it written.
Valuater Posted November 24, 2008 Posted November 24, 2008 Well, AFAIK... The "#" needs to be sent in "raw" mode thats the extra "1" on the password line. However you do not want to send the tabs or the enter in raw mode 8)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now