Sign in to follow this  
Followers 0
RabidDonkey

Sending # sign

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

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