3 Replies Latest reply on May 10, 2016 1:58 AM by tpk1982

    [JS] How to change the stroke type?

    K159 Level 1
      app.selection[0].strokeWeight = 3;     // app.selection[0] = [object TextFrame]
      app.selection[0].strokeCornerAdjustment = StrokeCornerAdjustment.DASHES;



      I tried this code, but get error.


      error message : The property is not applicable in the current state.


      How to change the stroke type as dashed?