Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Viewing all articles
Browse latest Browse all 3671

change the position of a artboard using javascript

$
0
0

Hello such. I will see a silly question to which I have not found solution

 

You can change the position of a artboard using javascript?

 

Something like: it does not work.

 

app.coordinateSystem = CoordinateSystem.ARTBOARDCOORDINATESYSTEM;
abActive = app.activeDocument.artboards[app.activeDocument.artboards.getActiveArtboardIndex()];

alert("abActive: "+abActive+"\n\n"+
"abActive.position[0]: "+abActive.position[0]+"\n\n"+
"abActive.position[1]: "+abActive.position[1]+"\n\n"
)


abActive.position = [500, 1000];

 

I searched for information and I have not found.

 

Thank you very much in advance.

 

a greeting


Viewing all articles
Browse latest Browse all 3671

Trending Articles