Letters to ASCII

Falcon1337's icon

Hey there,
I'm stuck on my project where I want someone to type a message into the textedit and it shows the ASCII numbers of what they have typed.

so far I've got the single ASCII of each character coming out of the textedit into an integer or another textedit but I would like it to create a list of the ASCII numbers as the person types in the textedit. Is there a way to append the numbers I have displayed in the integer and display it in another textedit?

Please help!

goingdeaf's icon
Max Patch
Copy patch and select New From Clipboard in Max.

: )

Falcon1337's icon

Hey,
thats close to what I wanted but If for example i type hello into my box each letter I type comes out with an ascii number. My goal is each time i press the key on the keyboard the ascii number comes out and it stores that number in a list format.

for example Hello if typed would come out like this

77 36 66 66 52

So then I can grab those ascii numbers and translate them back into a word.

Falcon1337's icon
AaronMButler's icon
Max Patch
Copy patch and select New From Clipboard in Max.

This doesn't update as you type, but it works.

goingdeaf's icon

Also have a look at [histo].

: )

goingdeaf's icon

Sorry for the hasty responses. I'm in work!

If you have Max 6, have a look at the [dict] family. I've had some success with list-building here. [dict.iter] and [dict.view] can be very helpful visual aids!

Falcon1337's icon

Thanks for all your help guys, much appreciated!