Forums > MaxMSP

Using arguments in a subpatch window’s title bar

Dec 08 2008 | 12:30 pm

In a project I have made with Max 4.6, I used a patcher message box to change the title of a subpatch window displaying graphics. All those graphics were numbered and indentified by their respective number in the title bar. In Max 4.6, the text needed in the message box to automatically change the window title, with an argument in it, was simple:

[patcher Exercise # $1]

Despite the fact that quotation marks seem to be needed before and after the new title in a patcher message box in Max5, the use of an argument in the title doesn’t seem to work anymore. Is there another way to accomplish this in Max5?

Thanks in advance.

Dec 08 2008 | 2:35 pm

Like this:

— Pasted Max Patch, click to expand. —

You will obviously need to make some modifications for variable lengths of arguments etc…

Dec 08 2008 | 2:38 pm

Maybe I misunderstood the question. Does this help either?

— Pasted Max Patch, click to expand. —
Dec 08 2008 | 9:17 pm

Thank you very much for you help!
Your second patch does exactly what I was looking for.

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

Forums > MaxMSP