Forums > MaxMSP

bpatcher 'active' information

December 27, 2010 | 9:14 pm

is there any possibility that the ‘active’ message within a patcher won’t be lost if you make a bpatcher out of it.

so that means: the ‘active’ object triggers a toggle within my patcher if I’m clicking somewhere in this patcher.
this triggering gets lost if I insert the patcher in a bpatcher.
So I’m looking for a way which tells me that a patcher within a certain bpatcher is active.
I can’t explain why I’m looking for that – it’s a bit complicated.

Buttom line: i’m looking for something like the ‘active’ object which works for a certain bpatcher or a patcher within a bpatcher.

Is it possible?
Thanx so much.

December 28, 2010 | 1:09 am

the active object can not work in a bpatcher because the patcher is not
opened (active )at all in a window here, but only in the bpatcher object box.

maybe a workaround will suite your application? … think "loadbang" or
mouse over …

December 28, 2010 | 8:39 am

Thanx Roman,
I thought the same – doing it with the ‘mousestate’ object and controlling it with the x or/and y position.
The only problem is that the look of my patcher is changing permanently which would force me to change the values regularly. That’s why I’m hesitating to use it.
Maybe I’ll find another solution. I’ll try again today :-)
Thanx anyway.


December 28, 2010 | 1:14 pm

Give your [bpatcher] a scripting name and then use [hover] to detect when you’re mousing over it, will that get you any further?

December 28, 2010 | 6:09 pm

in fact I think all bpatchers are given a scripting name whether you ask for it or not… re: dealing with pattrstorage if you decide to use it (a way to differentiate between groups of pattrs, each in a similar bpatcher).

December 28, 2010 | 6:44 pm

damn Luke, that’s exactly what I was looking for. A perfect replacement for [active] if u have to deal with bpatchers.
it’s a pitty and I don’t know why, but I didn’t get your message in my mailbox so I was struggling the whole day and found a solution with a combination of ‘set’ messages….but for the future this will help me a lot….
thanx so much !!!

December 29, 2010 | 10:10 am

Hey Luke,
thanx again man…just used [hover]. it’s great and it helps so much….I’m happy ;-)

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

Forums > MaxMSP