Is it possible to apply clipping mask?
Hi all , we can apply clipping mask to a group in illustrator. Is it possible to apply clipping mask in indesign? if yes, then how can we apply clipping mask in indesign using script.
Hi all , we can apply clipping mask to a group in illustrator. Is it possible to apply clipping mask in indesign? if yes, then how can we apply clipping mask in indesign using script.
Hi @Abpujar ,
with InDesign's GUI you apply something like a "clipping mask" with cut and paste into.
The same commands are available for scripting.
Example with two elements on the active spread.
A group you want to mask and an empty rectangle that should be the "clipping mask".
var spread =
app.activeDocument.layoutWindows[0].activeSpread;
spread.groups[0].select();
app.cut();
spread.rectangles[0].select();
app.pasteInto();
Regards,
Uwe Laubender
( Adobe Community Professional )
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.