Forums > MaxMSP

Edit/clear recent items list from within max/MSP

November 17, 2010 | 2:40 pm

It seems to me that this should be possible somehow using [shell], but what I’m wondering is how one might clear max’s own internal memory of these items. For instance, if you manually clear recentitems.txt and save the file whilst max is open, the file will be populated with all the items you deleted when max closes. Is there a way to call max/MSPs bluff or will it always win this game?


November 18, 2010 | 4:37 pm

No takers?

What I want to do is trash the recentitems.txt list from within max and not have max repopulate it with my recent items. Is that possible, or put differently, is there a way to stop max from remembering every new patch you open in the recently opened list?

the terminal command rm ~recentitems.txt deletes it, but then the file magically reappears once max is closed..


November 18, 2010 | 4:59 pm

Hello goodparleyandorfing,

max writes the Txt files on closing, so a way is to CRASH IT instead ;-)

Is anybody know a way to execute the script after max’s quit ?


November 18, 2010 | 5:15 pm

Heh, that’s one way.. Feels like a philosophical conundrum the more i think about it. "How do you make max act when there’s no max?" Maybe a native solution isn’t possible then


November 19, 2010 | 12:48 am

Isn’t there a "dbrefresh" type message to max? I’m not sure how much this will actually do but it is probably worth a shot.


November 19, 2010 | 9:38 am

Thanks Luke, I’ll look into that. I wonder if there’s a way for terminal to receive a command that a program has been closed and then execute a script automatically. A list could therefore be populated from within max/MSP using [shell] and then moved into the preferences folder, replacing the existing file after max/MSP closes.


November 19, 2010 | 4:44 pm

Hello Luke Hall,

do you refer to "db.reset" ? seems not the solution … worse : spinning pizza of death deadlock with "New File Browser" then … (or i’m not patient enough … more than two minutes to rebuild the data base ???) …

os X.4.11 / max 5.1.5 in case of cycling74 eyes only ;-)


Viewing 7 posts - 1 through 7 (of 7 total)