how can i find coordinates for all objects in my patcher at the same time ?

tada's icon

i want with a bang to have coordinates for all objects in my patcher as a list(and much better for all objects of the same class-for example buttons)

i am trying to create a patch like x.ceremony example
but instead of random walk positions of the comment boxes
i want to have predetermined coordinates.

i have tried some solutions like mousestate-coll but it is loss of time..

also there is the external "posit"(from jech library) who does this job but in OS windows-max5 does not work(a warning message appears "could not be located in the dynamic link library MaxApi.dll")

i have spend a lot of time for this so any help will be very valuable :>

Tj Shredder's icon

The best bet is to use javascript. You can query all objects, and then ask for the box attribute. There should be some examples in the Max distribution which could get you going...

tada's icon

thanks.. luke covered this issue in a previous question

Luke Hall's icon

Here is a javascript version of the [posit] external. It doesn't do everything the original does but it should cover the things you need it for.

lh