Copy link to clipboard
Copied
So at my work we use a type of label on all our jobs but we do two at a time.
So I am trying to make a script that dupes up the ticket and moves it across to fit.
But Im extremely new to scripting and I don't know where to start so I was wondering if anyone has any pointers to put me in the right direction?
Thanks,
Daga
Copy link to clipboard
Copied
Its fairly simple to do in InDesign, but I would question if you are using the right tool for this?
Are you only doing a single label at a time, or multiple labels at once?
If its purely a one off requirement, then yes, stick with a script.
However, If these are PDF Documents, and the requirements could potentially grow, I would be tempted to look at Quite Imposing Plus software (Quite at Home ).
Its a plugin for Acrobat that deals with this REALLY well with a PDF Environment. I used it for many years when I was in the Pre-Press industry.
Copy link to clipboard
Copied
This would get you started though based on selecting the initial item
you would have to do more work to get the page to fit etc...
var item = app.selection[0];
item.move([0,0]);
var newItem = item.duplicate();
newItem.geometricBounds = [item.geometricBounds[0],item.geometricBounds[3],item.geometricBounds[2],item.geometricBounds[3] + (item.geometricBounds[3] - item.geometricBounds[1])];
newItem.fit(FitOptions.PROPORTIONALLY);