capture max window?

Aug 16, 2008 at 4:24pm

capture max window?

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

#39309
Aug 16, 2008 at 4:49pm

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

#138221
Aug 16, 2008 at 9:19pm

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.

#138222
Aug 17, 2008 at 1:03am

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

#138223
Aug 17, 2008 at 5:07am

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.

#138224
Aug 17, 2008 at 5:43am

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

#138225
Aug 17, 2008 at 3:10pm

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.

#138226
Aug 17, 2008 at 6:46pm

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.

#138227
Aug 17, 2008 at 11:44pm

A trade!

Here is a version in javascript.

sasha.

#138228

You must be logged in to reply to this topic.