[thispatcher] in Presentation Mode…
Just figuring out the [thispatcher] object and playing a little. My goal is to be able to add buttons to a interface to re-size the entire window. How can I get [thispatcher] to work in Presentation Mode? I sent the [window size] msg to [thispatcher] and it alwways changes the *patching* window, not presentation. Did a search on this and couldn’t find the answer…
It sets the size for both patching and presentation modes for me. Try this patch out which is basically part of the [thispatcher] help file, it should work. If it doesn’t please let us know exactly what it is and isn’t doing.
----------begin_max5_patcher---------- 399.3ocyT0saBBCF8Z3onodKyzhf.aWsWfkrqMlED9l1EnXn0IaFe2m8CPko FlYtjcAsomCe+cNE1XaQmUTAJJ4dxDhk0FaKKDx.X0b1hlGWkjEqvWilCJU7 bf5TyogJMhuVHSKVSThOABmwvmw9LhOi4PZHgJHoMvkkfBj5XsnP9RIjnqaB 9nfg6Bf66Y1bGga7vgLxz1.i0IKDx4WUPuVH0x3b.a0GKEwYmqOLr7Fb4pbg LCz3T6d.rXktEkeTxMyMhwG5G4yCCZ3DoXIKl81ct9s0rNG5OVB08OkRlZX1 ZaaVb9CrB+f.hmazUYEg05XvUYE8Fz+AqvK3FaERX8t7dhSnWHTnHAk8I1di PAyMzrMNBOv5Qq6KleoTyOqT6dNo1cWsOQk4WVjcPgtgVE+dKwfmLTcjMB8A yxfmMqfLsFoiKgYhlIje+WYXRL3csNUwpxj1R19oI4ftkBJsPtWblrebN5cV HRSAjtcxyEoKKDRcSObg6Q+zVxbE8V2R7HFdGg6YtjzQ.s2Z+EfEtwFR -----------end_max5_patcher-----------
Thanks… this is still weird for me. Your patch works fine. There must be something operational I’m missing because it behaves as expected for awhile, then I move some windows around and it doesn’t. Does using the New View command (1 view for patcher, 1 view for Presentation) impact this? That seems to be one thing that causes it to change. How about if 1 or more of them is in Edit mode at the time?
When things confuse me, this is how it’s acting: In my patch, if the patch’s Presentation Mode window is open and main patcher window is *not*, window msgs to [thispatcher] resize the presentation window fine, as expected. If *only* the patcher window is open, it resizes that. If both are open (by making a New View) it still resizes the *patcher* window. So it seems like [thispatcher] wants to affect the patcher window first, and if that’s not open it will affect Presentation. So I think it could be functional in the end, but this isn’t really how I would expect it would act. Did I miss something in the docs? Is this behavior expected under some circumstance?
Forums > MaxMSP