Jump to content
Sign in to follow this  
Guest Dj Saturn


Recommended Posts

Guest Dj Saturn


i need help with the input box --> GUICtrlCreateInput .... maybe you would suggest something else

but i want to be able to type letters into one input box then have a different letter come out on another box, (does not have to be input)

so when i type cool it would come out as [00|.

i guess i would use Hotkeyset maybe but im not too sure!

im new to this great autoit!!!

so help please! thank you!!

Share this post

Link to post
Share on other sites

this will do the trick

Dim $final = ""

$value = InputBox("Word Changer", "Type in your word ", "cool")

$result = StringSplit($value, "")

For $x = 1 to $result[0]
    If $result[$x] = "c" then $final = $final & "["
    If $result[$x] = "o" then $final = $final & "0"
    If $result[$x] = "l" then $final = $final & "|"
; continue as you like

MsgBox(0, "Results", $final)

hope that helps



Share this post

Link to post
Share on other sites

There are several solutions. You could check the Input for the text in a loop, and when the text is equal to "cool", it could write "[oo]" in the other input. Or you could use HotKetSet, and for each charater you input, it could type something different in the other input...

Does that make any sense to you?

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.