Jump to content

Recommended Posts

Posted

Hi,

I am quite a newbee with autoIt.

However i am eager into learning it.

Now i run against the problem where i can't put an "!" in a string.

In my case, i have an password input box where i want to put the password "password!!!!!".

This does not work, when i display the string it only shows the "password" part.

How can i solve this ?

regards,

Sebastian

Posted

Have you checked the Helpfile since its explained in there and there is a table showing all special characters/keys....

check for the Send() command :D

Hi Jos,

Yes i have checked the helpfiles.

But in my case, it is hard to use that command.

I am trying to have a password input box which writes into a string.

Should i then convert the string to seperate asci characters and send them 1 by 1 ?

Or is there a more easy way to accomplish this ?

gr

Sebas

Posted

@relaxteb...you can also do this by using ControlSetText()...Like this...

$passwd = InputBox("Security Check", "Enter your password.", "", "*")
ShellExecute("Notepad")
WinWait("Untitled - Notepad","")
ControlSetText("Untitled - Notepad","","Edit1",$passwd)
WinActivate("Untitled - Notepad")
Posted

I'd like to do the same thing in order to make one of my scripts more user-friendly (make the keys that require {}s to not need them). If the InputBox could change when the user gives a "!", "?", etc., then it would be much easier for users to type, rather than having to find out how and when to use the pointy brackets.

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