Get all items on a layer and then move them all at once


i'm trying figure out way reposition multiple elements @ once. have layer, lets name "graphbars" , want take on graphbars , move using .move([x,y]) command.

 

so basically, grab items "graphbars" , move said items new position.

 

i'm on cs6 , working in javascript.

 

will work? (newdoc document)

 

newdoc.layers.item("graphbars").move([ x,y ]);

 

or need create group of frames within layer? , move them?

or should be?

 

newdoc.layers.item("graphbars").pageitems.everyitem().move([ x,y ]);



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support