Forums > MaxMSP

capture max window?

August 16, 2008 | 4:24 pm

Is there a way to get all messages sent to teh max window for logging purposes?


August 16, 2008 | 4:49 pm

Quote: sasha@mortalspaces.com wrote on Sat, 16 August 2008 09:24
—————————————————-
> Is there a way to get all messages sent to teh max window for logging purposes?
—————————————————-

There’s the error object, and you can also copy out of the Max window.

-C


August 16, 2008 | 9:19 pm

Thanks for the response.

The error object doesn’t give me enough, so I need to copy from the max window. I think I’m not looking in the right places to figure out how.

Is there a way to do that in javascript? Is there a max window object?

sasha.


August 17, 2008 | 1:03 am

On Aug 16, 2008, at 2:19 PM, Sasha Harris-Cronin wrote:

> The error object doesn’t give me enough, so I need to copy from the
> max window.

Out of curiosity, what doesn’t the error object give you?

> Is there a way to do that in javascript?

I don’t use js much, so I don’t know.

> Is there a max window object?

I don’t think so.

-C

Chris Muir
cbm@well.com

http://www.xfade.com


August 17, 2008 | 5:07 am

It doesn’t give me messages that are not errors. For instance, anything that you (or an external that you are using) might just "print" to the max window.

You mentioned copying the max window. How would you do that? (Aside from with a mouse).

sasha.


August 17, 2008 | 5:43 am

On Aug 16, 2008, at 10:07 PM, Sasha Harris-Cronin wrote:
> It doesn’t give me messages that are not errors. For instance,
> anything that you (or an external that you are using) might just
> "print" to the max window.

It wouldn’t help with messages from externals, but for things you send
to print, you could send to some log-print abstraction.

> You mentioned copying the max window. How would you do that? (Aside
> from with a mouse).

I don’t think that there is any programatic way to get the Max
window’s contents. This key sequence works:
CMD-M (selects Max window)
CMD-A (select all text)
CMD-C (copy text)

-C

Chris Muir
cbm@well.com

http://www.xfade.com


August 17, 2008 | 3:10 pm

That’s an idea, but wouldn’t that bring the max window to the front when I am running a full screen standalone? This is for permanent installation, and having the max window bouncing in the front wouldn’t be the thing.

Thanks.

sasha.


August 17, 2008 | 6:46 pm

Here’s an example of a "printlog" abstraction. Hopefully the help file explains how to use it. It won’t do 100% of what you want, but it may be enough.


August 17, 2008 | 11:44 pm

A trade!

Here is a version in javascript.

sasha.


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