4 Replies Latest reply on Jul 27, 2015 12:03 PM by pixxxel schubser

    updating scripts to CC from CS6


      Hello World!


      I've got a lot of scripts that I've been updating but for some reason my ETSK isn't wanting to run them in CC, only CS6.  I make sure the target is set to "Adobe Illustrator CC 2015 (19.064) but when I hit run it changes to CS6.  Below is a snippet from the first part of my code, not sure what I'm missing.  I did a search for converting scripts from CS6 to CC and mainly came up with Photoshop stuff.  If you could kindly point me to some reference guides it would be most helpful in my endeavors.


      I'm not sure what all scripting functions have changed / removed / added with the change from CS6 so this is a challenge that I look forward to.


      Many thanks!


      #target illustrator;
      //#targetengine "session";
      app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
      /////  First line also shows the palette version
      var w = new Window("palette","Script Menu V2.0",undefined,{closeButton:true});
      //w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [.75, .75, .75]);
      w.orientation = "row";
      w.alignment = "left";
      w.margins = 1;
      w.spacing = 0;



      If you need me to past my entire code I will, it is currently at 758 lines and this includes any notes.