Getting an object's position

Apr 12, 2007 at 1:29am

Getting an object's position

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.

#31322
Apr 12, 2007 at 2:24am

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

#101627
Apr 12, 2007 at 7:08am

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

#101628
Apr 13, 2007 at 9:55pm

Thanks!

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

#101629

You must be logged in to reply to this topic.