regarding my post: TrianguloY
regarding my post: TrianguloY
https://plus.google.com/u/0/+gerdreuter/posts/XuAVWHWRCpJ
you can see the panels in the background of the screenshot.
a red, blue, green and yellow panel.
they are definitely not at 0,0
]]>
< ![CDATA[
Ok, you misunderstood.
This script will scroll the panels itself, it won’t move the ‘panels’ as items. Yes, they are not at 0,0 ; but the desktop is, and also the panels…as containers.
]]>
< ![CDATA[
TrianguloY oh ok, your script save the position within the panels not the position of the panels itself?
can i do that?
how can i move the panels on the desktop?
]]>
< ![CDATA[
gerd reuter I’m a bit confused. You want a script that move the panels to ‘that’ position? Are you going to move them from a different script? Or you just want to move once to a predefined place? (Remember that you can use the geometry editor to this last question)
]]>
< ![CDATA[
TrianguloY the reason doesn’t matter. i want to move panels to a specific position. as often as i want 😉
]]>
< ![CDATA[
Ok, don’t worry. I just wanted to check to avoid useless scripts.
Yes, it can be done, and not very difficult. I can’t now sorry. You’ll need to wait…or maybe someone else is faster than me. 😉
]]>
< ![CDATA[
the “trick” is to get the right id for the panel.
the “normal” id when you get it by getXyz returns the id from the container. container can’t be moved (until yet). you need the id from e.g. LL.getCurrentDesktop().getItems();
then you can use this id as ItemId. and Items can be moved.
]]>
< ![CDATA[
gerd reuter you can always use .getOpener() if you need.
With panels it will return the panel as an item.
]]>
< ![CDATA[
LL.GetContainerById(114).getOpener().setPosition(0,0);
LL.GetContainerById(113).getOpener().setPosition(0,0);
LL.GetContainerById(112).getOpener().setPosition(0,0);
LL.GetContainerById(111).getOpener().setPosition(0,0);
]]>
< ![CDATA[
TrianguloY great. i’ll try this. thanks a lot!
]]>