       output.prefix = -> ""
       output.suffix = -> ""
     when "line"
-      output.prefix = (stroke, fill, clip, opacity, layerNum, layerName) ->
-        "Dialogue: #{layerNum},0:00:00.00,0:00:00.00,AI,#{layerName},0,0,0,,{\\an7\\pos(0,0)#{stroke}#{fill}#{opacity}#{clip}\\p1}"
+      output.prefix = (stroke, fill, clip, alpha, layerNum, layerName) ->
+        "Dialogue: #{layerNum},0:00:00.00,0:00:00.00,AI,#{layerName},0,0,0,,{\\an7\\pos(0,0)#{stroke}#{fill}#{alpha}#{clip}\\p1}"
       output.suffix = -> ""
 
 

              @processedPathCnt += 1

            for subPageItem in obj.pageItems when not subPageItem.clipping
              @process subPageItem, clip

          when "PathItem"
            if @processedPathCnt % 10 == 0

    # "PatternColor"
    # "SpotColor"

  manageOpacity = (opacity) ->
    if opacity >= 100
      return ""

    return "\\alpha&H#{zeroPad 255 - Math.round(opacity)/100 * 255}&"

  ASS_createDrawingFromPoints = ( pathPoints ) ->
    drawing.new()
