move selection to XY coordinate?
I want to move the current selection or better yet, paste the clipboard item to a pre-defined X,Y coordinate. I am able to pull the coordinate variables from a text object within the file but I don't know how to write the javascript to "move" the object into place.
I found this script in the InDesign forum. Can I tweak it to work in AI? Running it as-is returns an error: "illegal argument - argument 1".
var s=app.activeDocument.selection[0];
s.move([-.25,-.25])
Here is a sample file: Dropbox - Align_Sample.ai
I want to paste other "fingerprints" to the coordinates listed in the file. I know I'll need to convert the coordinates to points. I can do that although I may not know the best method.
Thanks for any help!
