Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Photoshop Paths > None | Script

Engaged ,
Mar 06, 2018 Mar 06, 2018

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

400
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Mar 06, 2018 Mar 06, 2018

Try this:

myDoc = app.activeDocument

length = myDoc.allGraphics.length

for (i=0;i<length;i++)

{

   try

   {

    myDoc.allGraphics.clippingPath.clippingType = ClippingPathType.NONE

   }

    catch(err)

    {

    }

}

Translate
Mentor ,
Mar 06, 2018 Mar 06, 2018

Try this:

myDoc = app.activeDocument

length = myDoc.allGraphics.length

for (i=0;i<length;i++)

{

   try

   {

    myDoc.allGraphics.clippingPath.clippingType = ClippingPathType.NONE

   }

    catch(err)

    {

    }

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 06, 2018 Mar 06, 2018
LATEST

Worked perfectly, thank you very much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines