Forums > MaxMSP

Save Before Quit

Jul 05 2010 | 2:31 pm


I Would Like To Know if it Is Possible In Max 5 To Implement Save Before Quit In My Application,
Like Any Normal Application?


Jul 05 2010 | 3:37 pm

you can have some ‘sort of’ save as… in a max patch/collective/application.
if your using [autopattr] and [pattrstorage], for your preset saving. it always [unless you have saved before exiting] asks for you to save your settings, either in XML or ‘the other format which i can not remember’ when you exit the program.

hope that helps, there are a few helpful patches with the preset saving method using [autopattr] and [pattrstorage] posted around this forum or even in the cycling tutorials.

lewis edwards

Jul 05 2010 | 11:46 pm

The [closebang] object is another way to trigger an action when you shut a patch.


Jul 06 2010 | 9:28 pm

Hey guys, hows it going i’d just like to thank both of you guys with the help on my search, think I found it

Jul 07 2010 | 6:13 am

no worries man, its always a pleasure to help people with their queries.

happy maxing.

lewis edwards

Jan 28 2011 | 9:54 pm

Hi guys,
I’m having problems trying to do a similar thing. When a user quits my app (standalone runtime on both Mac and Windows) I just need to delay quitting long enough to bang a couple of messages to be sent out to a hardware unit so that it functions correctly without the application running. However, closebang did not do the job in time I assume because it had no effect. I thought about using the key object and looking for Command Q, but then I would have to account for the user manually selecting quit from the menu and I can’t find any mention of this in menubar helpfile. Any help is very appreciated, thanks!

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

Forums > MaxMSP