Flipping a page item
How can I flip a page item horizontally, so that it appears on the other side of the page. I.e.: An icon in the top right corner should then be in the top left corner of the page.
How can I flip a page item horizontally, so that it appears on the other side of the page. I.e.: An icon in the top right corner should then be in the top left corner of the page.
Only a slightly different way… You could get the pageItem's vertical center then flip it over the page join maybe? using flip content horizontally… I only tried this left page to right but it did what I expected…
#target indesign var docRef = app.activeDocument; with(docRef){ if (spreads[0].pages.length == 2) { var a = pages[0].pageItems[0].duplicate([0,0]); var fph = spreads[0].pages[0].bounds[3]; var fpv = a.geometricBounds[0]+a.geometricBounds[2]/2; a.flipItem(FlipItemOptions.horizontal, [fph,fpv], true); } }
I see you are much quicker… ![]()
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.