Skip to main content
October 22, 2012
Question

rotate

  • October 22, 2012
  • 2 replies
  • 618 views

Hi

I want to move my selection to a fixed point (x=100, y = 100). The center of this selection should be these coordinates..;

app.selection[0].move([(100,100)] 

will move the selection to this coordinate beginning of one of the corners... Not in the center..

Please Help

This topic has been closed for replies.

2 replies

Trevor:
Legend
October 25, 2012

I see you are new to the forum,

I thought that I answered your question quite to the point, was I wrong?

The protocol of the forum is to mark correct questions as correct and out of courtesy to say thank you which I see out of the 4 posts that you have so far written and have all been answered correctly you have not written once.

Trevor:
Legend
October 22, 2012

First do

app.activeWindow.transformReferencePoint  = AnchorPoint.CENTER_ANCHOR;