set window size of standalone

themagicwoodshed's icon

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

seejayjames's icon

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.

jvkr's icon

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

themagicwoodshed's icon

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

jvkr's icon

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