set window size of standalone

Jan 2, 2011 at 4:32am

set window size of standalone

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

#54193
Jan 2, 2011 at 4:47am

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.

#195067
Jan 2, 2011 at 11:07am

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

#195068
Jan 2, 2011 at 12:24pm

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

#195069
Jan 2, 2011 at 8:14pm

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

#195070

You must be logged in to reply to this topic.