Hello all
I need some help with a reversing text patch.... I am trying to write a patch that will reverse text and made a somewhat dysfunctional version that uses the "keyname" object. It packs the symbol character of the keystroke into a textfile and then advances to the next line and sets the next keystoke character into a new line and so on until a bang is pressed to process the information. Then a textfile is read back by counting the total # of lines, then skipping that # minus one to give the very last character. I store that character in an empty messagebox. Then the total number of lines is set to be (total = total - 1) and the process is started over, so that I now get the second to last character in the file and so on. I am using the "add2" message to continue to add the new character to the previous ones. The problems I am having are:
1.) I cannot use spaces, because they get do not get recognized as a character, and backspaces appear as "Backspace" and shift appears as "Shift".
2.) the message box adds a space between each new character so that the text appears like this: "s i h t e k i l". So I am wondering if there is a way to correct these things, maybe by using an ascii object that I am unaware of.
Thanks all this is my first post Bradon~
Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
try "tosymbol" or "fromsymbol" from thge cyclone/hammer library. they can handle symbols with spaces.
http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
plus there are some symbol-toys in the zexy-library ("list2symbol", "makesymbol")
ftp://ftp.iem.at/pd/Externals/ZEXY/
ciao
oliver
14.04.2003 07:10:02, Bradon Webb bradonwebb@yahoo.com wrote:
Hello all
I need some help with a reversing text patch.... I am trying to write a patch that will reverse text and made a somewhat dysfunctional version that uses the "keyname" object. It packs the symbol character of the keystroke into a textfile and then advances to the next line and sets the next keystoke character into a new line and so on until a bang is pressed to process the information. Then a textfile is read back by counting the total # of lines, then skipping that # minus one to give the very last character. I store that character in an empty messagebox. Then the total number of lines is set to be (total = total - 1) and the process is started over, so that I now get the second to last character in the file and so on. I am using the "add2" message to continue to add the new character to the previous ones. The problems I am having are:
1.) I cannot use spaces, because they get do not get recognized as a character, and backspaces appear as "Backspace" and shift appears as "Shift".
2.) the message box adds a space between each new character so that the text appears like this: "s i h t e k i l". So I am wondering if there is a way to correct these things, maybe by using an ascii object that I am unaware of.
Thanks all this is my first post Bradon~
Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
//////////////////////////////////////////////////////// \\\\\\\ http://klingt.org/ground/lift \\\\\\ ///////// http://klingt.org/executive-ensemble ///////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\
Hallo, Bradon Webb hat gesagt: // Bradon Webb wrote:
1.) I cannot use spaces, because they get do not get recognized as a character, and backspaces appear as "Backspace" and shift appears as "Shift".
Well, that is their "keyname", so that's correct.
2.) the message box adds a space between each new character so that the text appears like this: "s i h t e k i l".
textfile stores lists of lists. add2 adds something to the current list, without advancing to the next list. The list elements are separated by spaces in the output.
Frank Barknecht _ ______footils.org__
i think text-processing could be done by a python-skript (py/pyext). marius.
----- Original Message ----- From: "Frank Barknecht" fbar@footils.org To: "PDList" pd-list@iem.kug.ac.at Sent: Monday, April 14, 2003 9:14 AM Subject: Re: [PD] Help on ASCII
Hallo, Bradon Webb hat gesagt: // Bradon Webb wrote:
1.) I cannot use spaces, because they get do not get recognized as a character, and backspaces appear as "Backspace" and shift appears as "Shift".
Well, that is their "keyname", so that's correct.
2.) the message box adds a space between each new character so that the text appears like this: "s i h t e k i l".
textfile stores lists of lists. add2 adds something to the current list, without advancing to the next list. The list elements are separated by spaces in the output.
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list