Sign in to follow this  
Followers 0
Guest Dj Saturn

input<-->output

6 posts in this topic

hey,

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
Next

MsgBox(0, "Results", $final)

hope that helps

8)


NEWHeader1.png

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

ooo, thanks guys love yas much.

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