Forums > MaxMSP

Getting an object's position


dhk
April 12, 2007 | 1:29 am

Hello folks.

I wonder if there is a way to get information about an object’s placement (in pixel coordinates) relative to the window ? Or relative to the screen for that matter? For example by naming the object, and sending a script message to thispatcher?

Also, I get the impression there are more scripting messages available than is documented in the manual. If so, where (apart from looking at patchers as text) can I learn about it?

Thanks in advance.



_j
April 12, 2007 | 2:24 am

name the object, and use jasch’s posit external to query it.


April 12, 2007 | 7:08 am

On 12 avr. 07, at 04:24, jamez wrote:

> name the object, and use jasch’s posit external to query it.

If you want to avoid naming the objects, have a look to
"patchdescribe-example.pat" in max’s examples folder.

Cheers,
ej



dhk
April 13, 2007 | 9:55 pm

Thanks!

I think I’ll dip my toes into javascript to see if that might give me what I want.


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