How to get Max to read in a .txt file and display the result?
I have a dictionary of adjectives in a .txt file and I am trying to read them into my Max patch and then display one at random but I haven't been able to find a way to do this in max. Is it possible? If so, how is it done? Thanks in advance!
Hi dekkuran,
what about [text]?
Here's an example copied from the helpfile:
Hi
Had you find the solution of your question
If yes please share that with me
Thanks in advance,
Did you look at the [text] help file as LSKA recommended? A "read" message into a [text] object will open a text file in Max.
This is the best example of the text object I've run across. Also trying to solve how to load text files into text objects on the fly. I'd like to use the live.drop object to load files too but haven't solved that mystery yet.
take a look at dropfile help.
specify filetype to avoid errors
when dropping wrong type of files.