Guest Dj Saturn Posted September 30, 2005 Posted September 30, 2005 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!!
Valuater Posted September 30, 2005 Posted September 30, 2005 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)
Wb-FreeKill Posted September 30, 2005 Posted September 30, 2005 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?
w0uter Posted September 30, 2005 Posted September 30, 2005 i think stringreplace would work better. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Scriptkiddi3 Posted September 30, 2005 Posted September 30, 2005 Take a look at my "Special Char Maker". http://www.autoitscript.com/forum/index.ph...81entry100981Easy and cool... [-"Scriptkiddie, nice to meet you!"-]
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