Copy link to clipboard
Copied
Hello,
Does anyone have a script or another way of automatically converting all images with PS paths to set to "None" ? as by default it automatically selects this options and i have to press ALT + CTRL + SHIFT + K to get this box to appear and manually change but i'm dealing with 1000+ Images.
Thanks
Try this:
myDoc = app.activeDocument
length = myDoc.allGraphics.length
for (i=0;i<length;i++)
{
try
{
myDoc.allGraphics.clippingPath.clippingType = ClippingPathType.NONE
}
catch(err)
{
}
}
Copy link to clipboard
Copied
Try this:
myDoc = app.activeDocument
length = myDoc.allGraphics.length
for (i=0;i<length;i++)
{
try
{
myDoc.allGraphics.clippingPath.clippingType = ClippingPathType.NONE
}
catch(err)
{
}
}
Copy link to clipboard
Copied
Worked perfectly, thank you very much.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now