i have to do
"script size thing 20 28, script move thing 100 0"
with a GUI element.
it works great, but it does not work when it is inside a bpatcher,
which is where i need it.
in a bpatcher the "move" script moves to positions in the root level.
before you ask: yes of course, it is connected to a [thispatcher]
inside the bpatcher.
hopefully i have only missed something?
p.s.: measuring the relative position wont help, i need to move
the bpatcher around.
You right. that’s weird.
fortunately "script sendbox thing patching_position $1 $2"
and "script sendbox thing patching_rect $1 $2 $3 4", etc. work fine.
Yup, it’s been like that for ages…
You can use this to get the coords of the bpatcher and add, but it remains a pita – getorigin.js:
* get the coordinates of the bpatcher box – jasch 20060914
ok guys, it seems i will have to use "offset" or "offsetfrom", hopefully that
will work through all systems.
it is a little bit more work to calculate the positions with that but
at least it doesnt run accross the screen like a 055+36 experiment.
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.