PWindow location

Jun 14, 2008 at 3:55pm

PWindow location

I have two related queries:

1) Is there any way of reporting the position of the PWindow object in a patch? Obviously I can view as text and copy manually.. but I want to get at these values in Max.

2) Is there any way of determing the actual live ‘screen’ position of an open patch window?



Jun 14, 2008 at 5:14pm

Ah.. thispatcher solves the ‘screen postition’ issue.. but I still can’t find a way to get a pwindow to tell me where it is within a patch.. any ideas?

Jun 14, 2008 at 6:05pm

in max 5 send “getglobal_rect” to the pwindow and “route global_rect” on the dump outlet.

no go in 4, but you can probably achieve what you want with javascript, by naming the pwindow and querying it in the script.


You must be logged in to reply to this topic.