Simple Question: load a text file into MESSAGE object

themaster's icon

Hi,

I'm using max4live. I'm trying to load a small text file into a MESSAGE object (300 characters). I just need it to show up there so It can be displayed onscreen.

The rest, all of the processing of the text, is already working fine with zl.nth and so on. But now I manually copy-paste in the text into the MESSAGE object and I want it to have drag and drop option.

The drag and drop also kind a works, but I do not know how to load it from the full path into the MESSAGE object.

Does anybody have a good suggestion on that? Thanks!

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

themaster's icon

Thanks, works great.

I now notice that it is sensitive to CR in the text file. When I remove those CRs in the text file, the whole file is loaded. But if there are CRs in the text file, only the bit after the last CR will show.

Probably no easy fix eh...

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

needs a little fix - first dump, then bang

Max Patch
Copy patch and select New From Clipboard in Max.