How can I restore the content of the text object when the Ableton Live project is reloaded?

Darling Lee's icon

Hello everyone! I added a text object in a Max for Live patch to achieve automated signal control of specific lines of text output through automation of a track in Ableton Live. I loaded this plugin in an Ableton Live project and opened the text object with a message containing the word "open" and entered the desired text, which worked fine. However, when I saved and reopened the Ableton Live project, I found that the text I had entered last time was missing, meaning I had to re-enter my text every time I opened my Ableton Live project. Since I need to enter different text in different Ableton Live projects, I cannot pre-enter fixed text in the plugin object during editing the Max for Live patch. Is there any way to help me solve this problem? In other words, I want to insert this Max for Live plugin in my track, and after reloading the project file, the text object can restore the text I entered last time in this project, while not affecting the plugin in other projects.

double_UG's icon

textedit object, with parameter mode on

or text with pattr with parameter mode on

Darling Lee's icon

Hello, DOUBLE_UG!Thank you! But can you give me an example of "text with pattr with parameter mode on"? I tried following your method but still couldn't implement it. Maybe I misunderstood? Sorry, I am a beginner!

double_UG's icon

sorry pattr doesnt work with text. So there is also textedit.

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

Source Audio's icon

textedit can not output specific line number, like coll, text, umenu, chooser ...
you can use textedit to enter and edit text lines, and also as storage,
but to grab lines you need to dump all lines into something else for recalling.

or oposite, use text object to write and recall lines,
but dump it into textedit for storage and back on project load.