Edit/clear recent items list from within max/MSP

Nov 17, 2010 at 2:40pm

Edit/clear recent items list from within max/MSP

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?

Nov 18, 2010 at 4:37pm

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..

Nov 18, 2010 at 4:59pm

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 ?

Nov 18, 2010 at 5:15pm

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

Nov 19, 2010 at 12:48am

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.

Nov 19, 2010 at 9:38am

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.

Nov 19, 2010 at 4:44pm

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 ;-)


You must be logged in to reply to this topic.