Copy link to clipboard
Copied
How to align selected object using indesign server script
Copy link to clipboard
Copied
Alignment requires user selection which you don't have in IDS and so align in extenso.
play with visibleBounds and do the maths.