1 Reply Latest reply on Sep 14, 2017 2:01 PM by pixxxel schubser

    Total noob looking to simply change blend mode

    Gabe11

      I work in the prepress industry and I can't tell you how critical it is in my line of work that we make sure that certain blends are used and others avoided for the sake of printability.

       

      As the subject line tells you, I know exactly squat when it comes to scripting, only that it's beyond my capabilities at the moment. I've looked at sample scripts and just when I think I start to understand, I look at another and it all unravels for me.

       

      I'm looking to do one of the more simpler things to do in Illustrator, which is to find objects using a particular blend mode and switch it to another. Right now, I either painstakingly inspect the supplied art for those blend modes or come across it by happy accident.

       

      Even pointing me in the right direction would be helpful!

       

      Thanks!

        • 1. Re: Total noob looking to simply change blend mode
          pixxxel schubser Level 5

          Gabe11  schrieb

           

          … I'm looking to do one of the more simpler things to do in Illustrator, which is to find objects using a particular blend mode and switch it to another …

           

          Sorry. but this is an impossible thing. You cannot find blend modes in additional fills and/or strokes which are added in the appereance palette.

           

          For simple paths you can use something like this

          if (app.activeDocument.pathItems[0].blendingMode != BlendModes.NORMAL ) {
              alert("Blend mode is not normal blend mode")
              }
          

           

          Have fun