Forums > MaxMSP

set window size of standalone

January 2, 2011 | 4:32 am

Hi I’m creating a standalone to give away free online and I was wondering if I can prevent the max window from opening and if I can set the window box around the patch. I have managed to get inside the keymidi in the extras section and had a look at that patch (as it has static window that fits patch) but I cant make head no tail of it. Also is it possible to add your own graphics in the top left hand corner of window instead of max 5 logo.
thank you
Lee


January 2, 2011 | 4:47 am

I’ve never been able to prevent the Max/Status window from opening in XP, even using the message to Max and the attribute in [standalone] object (you should take a look at this, it may give some clues). For the window size you can control this via [thispatcher]. Dunno about the Max 5 logo, I imagine that’s built-in. Though you can hide the window title bar if you want.


January 2, 2011 | 11:07 am

The message to max has, as I understood, become obsolete since version 5 was introduced. The way to go would be to edit the support/interfaces/maxinterface.json file.

_
johan


January 2, 2011 | 12:24 pm

Thanks guys. How do i edit the maxinterface.json file?
Thanks lee


January 2, 2011 | 8:14 pm

The json is basically a script with a xml style layout. It’s possible to open and edit it with a text editor. Even better is to find some json editor that understands the layout of the script. You should need to update the commands_runtime_windows definition. A bit of spirit of experimentation is required.

Concerning a json editor, there is an plugin for the (open source) eclipse application (http://www.eclipse.org/downloads/). At least for mac there is, not sure how it is for windows.
_
johan


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