bpatching the max print window

Beep's icon

I would like to add the max print window to the main body of my patch for monitoring purposes, any idea if you can hack the print window in this way? Many thanks.

pdelges's icon

The error object maybe?

p

Gregory Taylor's icon

Between that and some basic "print to a named receive destination", you ought to have a pretty good start. If you want to actually monitor your patch for debugging purposes, then have you looked at watchpoints and the debug window?

Beep's icon

Thanks for the help guys, the purpose of this is not for debugging so that rules out the watchpoints option. Basically I am interfacing with a bluetooth device and before I can do this I am having to print all of the named ports so i can select one. The ports are being printed into the max print window and it would be nice to have them printed into the main patch, especially when I come to converting the patch into a freestanding application.

Beep's icon

Don't suppose you could elaborate on "print to a named receive destination"? Not really sure how you do this... Thanks again!

xanadu's icon

Hi brokenman,

I wrote a console patcher some time ago. Perhaps this is usefult to you.

The basic idea is to send write messages to Console, like in these pictures.

I wrote several versions of the Console patcher, with differents widths. They are in the .rar file. The .amxd file should be applicable on the Apple platform as well.

On download please remove the numbers and the dot at the start of the filename(s).

464.Console.jpg
jpg
swieser1's icon

I used a javascript console object in a patch of mine as well. Worked quite well. Found it here:

Beep's icon

Many thanks for your help with this everyone!

seejayjames's icon

for ports you could append them to a [umenu] and be able to select them right there, to see the full list they could go to [jit.cellblock].