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