Forums > MaxMSP

Edit/clear recent items list from within max/MSP

Nov 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?

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

Nov 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

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

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

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

Forums > MaxMSP