2 Replies Latest reply on Apr 15, 2015 1:59 PM by roby@inthenews

    can anyone explain how the JS script listener handles text items?

    roby@inthenews Level 1

      i have created a script that asks for user input box and then uses the string to create a text item on the document. I've got the whole thing working. The only thing is that the text item creates the first 10 letters at 10 points, then the rest at around 3 points. this problem is rendering all the work i put into the script useless. Please help! i would like to know more about how the text item works.

       

      this is quite long, but it would be really great if anyone could point out how to make it so that the entire string is translated into 10 point artistic text. or point me somewhere where i can find that out. Thank you so much for any help you may be able to provide me with!

       

      function editText(variable){

          // =======================================================

      var idslct = charIDToTypeID( "slct" );

          var desc117 = new ActionDescriptor();

          var idnull = charIDToTypeID( "null" );

              var ref64 = new ActionReference();

              var idmoveTool = stringIDToTypeID( "moveTool" );

              ref64.putClass( idmoveTool );

          desc117.putReference( idnull, ref64 );

          var iddontRecord = stringIDToTypeID( "dontRecord" );

          desc117.putBoolean( iddontRecord, true );

          var idforceNotify = stringIDToTypeID( "forceNotify" );

          desc117.putBoolean( idforceNotify, true );

      executeAction( idslct, desc117, DialogModes.NO );

       

       

      // =======================================================

      var idsetd = charIDToTypeID( "setd" );

          var desc118 = new ActionDescriptor();

          var idnull = charIDToTypeID( "null" );

              var ref65 = new ActionReference();

              var idTxLr = charIDToTypeID( "TxLr" );

              var idOrdn = charIDToTypeID( "Ordn" );

              var idTrgt = charIDToTypeID( "Trgt" );

              ref65.putEnumerated( idTxLr, idOrdn, idTrgt );

          desc118.putReference( idnull, ref65 );

          var idT = charIDToTypeID( "T   " );

              var desc119 = new ActionDescriptor();

              var idTxt = charIDToTypeID( "Txt " );

              desc119.putString( idTxt, variable );

              var idwarp = stringIDToTypeID( "warp" );

                  var desc120 = new ActionDescriptor();

                  var idwarpStyle = stringIDToTypeID( "warpStyle" );

                  var idwarpStyle = stringIDToTypeID( "warpStyle" );

                  var idwarpNone = stringIDToTypeID( "warpNone" );

                  desc120.putEnumerated( idwarpStyle, idwarpStyle, idwarpNone );

                  var idwarpValue = stringIDToTypeID( "warpValue" );

                  desc120.putDouble( idwarpValue, 0.000000 );

                  var idwarpPerspective = stringIDToTypeID( "warpPerspective" );

                  desc120.putDouble( idwarpPerspective, 0.000000 );

                  var idwarpPerspectiveOther = stringIDToTypeID( "warpPerspectiveOther" );

                  desc120.putDouble( idwarpPerspectiveOther, 0.000000 );

                  var idwarpRotate = stringIDToTypeID( "warpRotate" );

                  var idOrnt = charIDToTypeID( "Ornt" );

                  var idHrzn = charIDToTypeID( "Hrzn" );

                  desc120.putEnumerated( idwarpRotate, idOrnt, idHrzn );

              var idwarp = stringIDToTypeID( "warp" );

              desc119.putObject( idwarp, idwarp, desc120 );

              var idtextGridding = stringIDToTypeID( "textGridding" );

              var idtextGridding = stringIDToTypeID( "textGridding" );

              var idNone = charIDToTypeID( "None" );

              desc119.putEnumerated( idtextGridding, idtextGridding, idNone );

              var idOrnt = charIDToTypeID( "Ornt" );

              var idOrnt = charIDToTypeID( "Ornt" );

              var idHrzn = charIDToTypeID( "Hrzn" );

              desc119.putEnumerated( idOrnt, idOrnt, idHrzn );

              var idAntA = charIDToTypeID( "AntA" );

              var idAnnt = charIDToTypeID( "Annt" );

              var idAnCr = charIDToTypeID( "AnCr" );

              desc119.putEnumerated( idAntA, idAnnt, idAnCr );

              var idbounds = stringIDToTypeID( "bounds" );

                  var desc121 = new ActionDescriptor();

                  var idLeft = charIDToTypeID( "Left" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc121.putUnitDouble( idLeft, idPnt, 0.000000 );

                  var idTop = charIDToTypeID( "Top " );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc121.putUnitDouble( idTop, idPnt, -10.044067 );

                  var idRght = charIDToTypeID( "Rght" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc121.putUnitDouble( idRght, idPnt, 24.923584 );

                  var idBtom = charIDToTypeID( "Btom" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc121.putUnitDouble( idBtom, idPnt, 3.000000 );

              var idbounds = stringIDToTypeID( "bounds" );

              desc119.putObject( idbounds, idbounds, desc121 );

              var idboundingBox = stringIDToTypeID( "boundingBox" );

                  var desc122 = new ActionDescriptor();

                  var idLeft = charIDToTypeID( "Left" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc122.putUnitDouble( idLeft, idPnt, 1.062500 );

                  var idTop = charIDToTypeID( "Top " );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc122.putUnitDouble( idTop, idPnt, -8.937515 );

                  var idRght = charIDToTypeID( "Rght" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc122.putUnitDouble( idRght, idPnt, 24.273148 );

                  var idBtom = charIDToTypeID( "Btom" );

                  var idPnt = charIDToTypeID( "#Pnt" );

                  desc122.putUnitDouble( idBtom, idPnt, 0.035721 );

              var idboundingBox = stringIDToTypeID( "boundingBox" );

              desc119.putObject( idboundingBox, idboundingBox, desc122 );

              var idtextShape = stringIDToTypeID( "textShape" );

                  var list9 = new ActionList();

                      var desc123 = new ActionDescriptor();

                      var idTEXT = charIDToTypeID( "TEXT" );

                      var idTEXT = charIDToTypeID( "TEXT" );

                      var idPnt = charIDToTypeID( "Pnt " );

                      desc123.putEnumerated( idTEXT, idTEXT, idPnt );

                      var idOrnt = charIDToTypeID( "Ornt" );

                      var idOrnt = charIDToTypeID( "Ornt" );

                      var idHrzn = charIDToTypeID( "Hrzn" );

                      desc123.putEnumerated( idOrnt, idOrnt, idHrzn );

                      var idTrnf = charIDToTypeID( "Trnf" );

                          var desc124 = new ActionDescriptor();

                          var idxx = stringIDToTypeID( "xx" );

                          desc124.putDouble( idxx, 1.000000 );

                          var idxy = stringIDToTypeID( "xy" );

                          desc124.putDouble( idxy, 0.000000 );

                          var idyx = stringIDToTypeID( "yx" );

                          desc124.putDouble( idyx, 0.000000 );

                          var idyy = stringIDToTypeID( "yy" );

                          desc124.putDouble( idyy, 1.000000 );

                          var idtx = stringIDToTypeID( "tx" );

                          desc124.putDouble( idtx, 0.000000 );

                          var idty = stringIDToTypeID( "ty" );

                          desc124.putDouble( idty, 0.000000 );

                      var idTrnf = charIDToTypeID( "Trnf" );

                      desc123.putObject( idTrnf, idTrnf, desc124 );

                      var idrowCount = stringIDToTypeID( "rowCount" );

                      desc123.putInteger( idrowCount, 1 );

                      var idcolumnCount = stringIDToTypeID( "columnCount" );

                      desc123.putInteger( idcolumnCount, 1 );

                      var idrowMajorOrder = stringIDToTypeID( "rowMajorOrder" );

                      desc123.putBoolean( idrowMajorOrder, true );

                      var idrowGutter = stringIDToTypeID( "rowGutter" );

                      var idPnt = charIDToTypeID( "#Pnt" );

                      desc123.putUnitDouble( idrowGutter, idPnt, 0.000000 );

                      var idcolumnGutter = stringIDToTypeID( "columnGutter" );

                      var idPnt = charIDToTypeID( "#Pnt" );

                      desc123.putUnitDouble( idcolumnGutter, idPnt, 0.000000 );

                      var idSpcn = charIDToTypeID( "Spcn" );

                      var idPnt = charIDToTypeID( "#Pnt" );

                      desc123.putUnitDouble( idSpcn, idPnt, 0.000000 );

                      var idframeBaselineAlignment = stringIDToTypeID( "frameBaselineAlignment" );

                      var idframeBaselineAlignment = stringIDToTypeID( "frameBaselineAlignment" );

                      var idalignByAscent = stringIDToTypeID( "alignByAscent" );

                      desc123.putEnumerated( idframeBaselineAlignment, idframeBaselineAlignment, idalignByAscent );

                      var idfirstBaselineMinimum = stringIDToTypeID( "firstBaselineMinimum" );

                      var idPnt = charIDToTypeID( "#Pnt" );

                      desc123.putUnitDouble( idfirstBaselineMinimum, idPnt, 0.000000 );

                      var idbase = stringIDToTypeID( "base" );

                          var desc125 = new ActionDescriptor();

                          var idHrzn = charIDToTypeID( "Hrzn" );

                          desc125.putDouble( idHrzn, 0.000000 );

                          var idVrtc = charIDToTypeID( "Vrtc" );

                          desc125.putDouble( idVrtc, 0.000000 );

                      var idPnt = charIDToTypeID( "Pnt " );

                      desc123.putObject( idbase, idPnt, desc125 );

                  var idtextShape = stringIDToTypeID( "textShape" );

                  list9.putObject( idtextShape, desc123 );

              desc119.putList( idtextShape, list9 );

              var idTxtt = charIDToTypeID( "Txtt" );

                  var list10 = new ActionList();

                      var desc126 = new ActionDescriptor();

                      var idFrom = charIDToTypeID( "From" );

                      desc126.putInteger( idFrom, 0 );

                      var idT = charIDToTypeID( "T   " );

                      desc126.putInteger( idT, 6 );

                      var idTxtS = charIDToTypeID( "TxtS" );

                          var desc127 = new ActionDescriptor();

                          var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );

                          desc127.putBoolean( idstyleSheetHasParent, true );

                          var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );

                          desc127.putString( idfontPostScriptName, """MyriadPro-Regular""" );

                          var idFntN = charIDToTypeID( "FntN" );

                          desc127.putString( idFntN, """Myriad Pro""" );

                          var idFntS = charIDToTypeID( "FntS" );

                          desc127.putString( idFntS, """Regular""" );

                          var idScrp = charIDToTypeID( "Scrp" );

                          desc127.putInteger( idScrp, 0 );

                          var idFntT = charIDToTypeID( "FntT" );

                          desc127.putInteger( idFntT, 0 );

                          var idSz = charIDToTypeID( "Sz  " );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( idSz, idPnt, 12.000000 );

                          var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( idimpliedFontSize, idPnt, 12.000000 );

                          var idHrzS = charIDToTypeID( "HrzS" );

                          desc127.putDouble( idHrzS, 100.000000 );

                          var idVrtS = charIDToTypeID( "VrtS" );

                          desc127.putDouble( idVrtS, 100.000000 );

                          var idsyntheticBold = stringIDToTypeID( "syntheticBold" );

                          desc127.putBoolean( idsyntheticBold, false );

                          var idsyntheticItalic = stringIDToTypeID( "syntheticItalic" );

                          desc127.putBoolean( idsyntheticItalic, false );

                          var idautoLeading = stringIDToTypeID( "autoLeading" );

                          desc127.putBoolean( idautoLeading, true );

                          var idTrck = charIDToTypeID( "Trck" );

                          desc127.putInteger( idTrck, 0 );

                          var idBsln = charIDToTypeID( "Bsln" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( idBsln, idPnt, 0.000000 );

                          var idimpliedBaselineShift = stringIDToTypeID( "impliedBaselineShift" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( idimpliedBaselineShift, idPnt, 0.000000 );

                          var idAtKr = charIDToTypeID( "AtKr" );

                          var idAtKr = charIDToTypeID( "AtKr" );

                          var idmetricsKern = stringIDToTypeID( "metricsKern" );

                          desc127.putEnumerated( idAtKr, idAtKr, idmetricsKern );

                          var idfontCaps = stringIDToTypeID( "fontCaps" );

                          var idfontCaps = stringIDToTypeID( "fontCaps" );

                          var idNrml = charIDToTypeID( "Nrml" );

                          desc127.putEnumerated( idfontCaps, idfontCaps, idNrml );

                          var iddigitSet = stringIDToTypeID( "digitSet" );

                          var iddigitSet = stringIDToTypeID( "digitSet" );

                          var iddefaultDigits = stringIDToTypeID( "defaultDigits" );

                          desc127.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );

                          var idkashidas = stringIDToTypeID( "kashidas" );

                          var idkashidas = stringIDToTypeID( "kashidas" );

                          var idkashidaDefault = stringIDToTypeID( "kashidaDefault" );

                          desc127.putEnumerated( idkashidas, idkashidas, idkashidaDefault );

                          var iddiacXOffset = stringIDToTypeID( "diacXOffset" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( iddiacXOffset, idPnt, 0.000000 );

                          var iddiacYOffset = stringIDToTypeID( "diacYOffset" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( iddiacYOffset, idPnt, 0.000000 );

                          var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc127.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );

                          var idbaseline = stringIDToTypeID( "baseline" );

                          var idbaseline = stringIDToTypeID( "baseline" );

                          var idNrml = charIDToTypeID( "Nrml" );

                          desc127.putEnumerated( idbaseline, idbaseline, idNrml );

                          var idstrikethrough = stringIDToTypeID( "strikethrough" );

                          var idstrikethrough = stringIDToTypeID( "strikethrough" );

                          var idstrikethroughOff = stringIDToTypeID( "strikethroughOff" );

                          desc127.putEnumerated( idstrikethrough, idstrikethrough, idstrikethroughOff );

                          var idUndl = charIDToTypeID( "Undl" );

                          var idUndl = charIDToTypeID( "Undl" );

                          var idunderlineOff = stringIDToTypeID( "underlineOff" );

                          desc127.putEnumerated( idUndl, idUndl, idunderlineOff );

                          var idligature = stringIDToTypeID( "ligature" );

                          desc127.putBoolean( idligature, true );

                          var idaltligature = stringIDToTypeID( "altligature" );

                          desc127.putBoolean( idaltligature, false );

                          var idcontextualLigatures = stringIDToTypeID( "contextualLigatures" );

                          desc127.putBoolean( idcontextualLigatures, false );

                          var idfractions = stringIDToTypeID( "fractions" );

                          desc127.putBoolean( idfractions, false );

                          var idordinals = stringIDToTypeID( "ordinals" );

                          desc127.putBoolean( idordinals, false );

                          var idswash = stringIDToTypeID( "swash" );

                          desc127.putBoolean( idswash, false );

                          var idtitling = stringIDToTypeID( "titling" );

                          desc127.putBoolean( idtitling, false );

                          var idconnectionForms = stringIDToTypeID( "connectionForms" );

                          desc127.putBoolean( idconnectionForms, false );

                          var idstylisticAlternates = stringIDToTypeID( "stylisticAlternates" );

                          desc127.putBoolean( idstylisticAlternates, false );

                          var idornaments = stringIDToTypeID( "ornaments" );

                          desc127.putBoolean( idornaments, false );

                          var idjustificationAlternates = stringIDToTypeID( "justificationAlternates" );

                          desc127.putBoolean( idjustificationAlternates, false );

                          var idfigureStyle = stringIDToTypeID( "figureStyle" );

                          var idfigureStyle = stringIDToTypeID( "figureStyle" );

                          var idNrml = charIDToTypeID( "Nrml" );

                          desc127.putEnumerated( idfigureStyle, idfigureStyle, idNrml );

                          var idproportionalMetrics = stringIDToTypeID( "proportionalMetrics" );

                          desc127.putBoolean( idproportionalMetrics, false );

                          var idkana = stringIDToTypeID( "kana" );

                          desc127.putBoolean( idkana, false );

                          var iditalics = stringIDToTypeID( "italics" );

                          desc127.putBoolean( iditalics, false );

                          var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                          var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                          var idwithStream = stringIDToTypeID( "withStream" );

                          desc127.putEnumerated( idbaselineDirection, idbaselineDirection, idwithStream );

                          var idtextLanguage = stringIDToTypeID( "textLanguage" );

                          var idtextLanguage = stringIDToTypeID( "textLanguage" );

                          var idenglishLanguage = stringIDToTypeID( "englishLanguage" );

                          desc127.putEnumerated( idtextLanguage, idtextLanguage, idenglishLanguage );

                          var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );

                          var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );

                          var iddefaultForm = stringIDToTypeID( "defaultForm" );

                          desc127.putEnumerated( idjapaneseAlternate, idjapaneseAlternate, iddefaultForm );

                          var idmojiZume = stringIDToTypeID( "mojiZume" );

                          desc127.putDouble( idmojiZume, 0.000000 );

                          var idgridAlignment = stringIDToTypeID( "gridAlignment" );

                          var idgridAlignment = stringIDToTypeID( "gridAlignment" );

                          var idroman = stringIDToTypeID( "roman" );

                          desc127.putEnumerated( idgridAlignment, idgridAlignment, idroman );

                          var idnoBreak = stringIDToTypeID( "noBreak" );

                          desc127.putBoolean( idnoBreak, false );

                          var idClr = charIDToTypeID( "Clr " );

                              var desc128 = new ActionDescriptor();

                              var idRd = charIDToTypeID( "Rd  " );

                              desc128.putDouble( idRd, 0.000000 );

                              var idGrn = charIDToTypeID( "Grn " );

                              desc128.putDouble( idGrn, 0.000000 );

                              var idBl = charIDToTypeID( "Bl  " );

                              desc128.putDouble( idBl, 0.000000 );

                          var idRGBC = charIDToTypeID( "RGBC" );

                          desc127.putObject( idClr, idRGBC, desc128 );

                          var idstrokeColor = stringIDToTypeID( "strokeColor" );

                              var desc129 = new ActionDescriptor();

                              var idRd = charIDToTypeID( "Rd  " );

                              desc129.putDouble( idRd, 0.000000 );

                              var idGrn = charIDToTypeID( "Grn " );

                              desc129.putDouble( idGrn, 0.000000 );

                              var idBl = charIDToTypeID( "Bl  " );

                              desc129.putDouble( idBl, 0.000000 );

                          var idRGBC = charIDToTypeID( "RGBC" );

                          desc127.putObject( idstrokeColor, idRGBC, desc129 );

                          var idbaseParentStyle = stringIDToTypeID( "baseParentStyle" );

                              var desc130 = new ActionDescriptor();

                              var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );

                              desc130.putString( idfontPostScriptName, """MyriadPro-Regular""" );

                              var idFntN = charIDToTypeID( "FntN" );

                              desc130.putString( idFntN, """Myriad Pro""" );

                              var idFntS = charIDToTypeID( "FntS" );

                              desc130.putString( idFntS, """Regular""" );

                              var idScrp = charIDToTypeID( "Scrp" );

                              desc130.putInteger( idScrp, 0 );

                              var idFntT = charIDToTypeID( "FntT" );

                              desc130.putInteger( idFntT, 0 );

                              var idSz = charIDToTypeID( "Sz  " );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idSz, idPnt, 12.000000 );

                              var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idimpliedFontSize, idPnt, 12.000000 );

                              var idHrzS = charIDToTypeID( "HrzS" );

                              desc130.putDouble( idHrzS, 100.000000 );

                              var idVrtS = charIDToTypeID( "VrtS" );

                              desc130.putDouble( idVrtS, 100.000000 );

                              var idsyntheticBold = stringIDToTypeID( "syntheticBold" );

                              desc130.putBoolean( idsyntheticBold, false );

                              var idsyntheticItalic = stringIDToTypeID( "syntheticItalic" );

                              desc130.putBoolean( idsyntheticItalic, false );

                              var idautoLeading = stringIDToTypeID( "autoLeading" );

                              desc130.putBoolean( idautoLeading, true );

                              var idTrck = charIDToTypeID( "Trck" );

                              desc130.putInteger( idTrck, 0 );

                              var idBsln = charIDToTypeID( "Bsln" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idBsln, idPnt, 0.000000 );

                              var idimpliedBaselineShift = stringIDToTypeID( "impliedBaselineShift" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idimpliedBaselineShift, idPnt, 0.000000 );

                              var idcharacterRotation = stringIDToTypeID( "characterRotation" );

                              desc130.putDouble( idcharacterRotation, 0.000000 );

                              var idAtKr = charIDToTypeID( "AtKr" );

                              var idAtKr = charIDToTypeID( "AtKr" );

                              var idmetricsKern = stringIDToTypeID( "metricsKern" );

                              desc130.putEnumerated( idAtKr, idAtKr, idmetricsKern );

                              var idfontCaps = stringIDToTypeID( "fontCaps" );

                              var idfontCaps = stringIDToTypeID( "fontCaps" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc130.putEnumerated( idfontCaps, idfontCaps, idNrml );

                              var iddigitSet = stringIDToTypeID( "digitSet" );

                              var iddigitSet = stringIDToTypeID( "digitSet" );

                              var iddefaultDigits = stringIDToTypeID( "defaultDigits" );

                              desc130.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );

                              var iddirOverride = stringIDToTypeID( "dirOverride" );

                              var iddirOverride = stringIDToTypeID( "dirOverride" );

                              var iddirOverrideDefault = stringIDToTypeID( "dirOverrideDefault" );

                              desc130.putEnumerated( iddirOverride, iddirOverride, iddirOverrideDefault );

                              var idkashidas = stringIDToTypeID( "kashidas" );

                              var idkashidas = stringIDToTypeID( "kashidas" );

                              var idkashidaDefault = stringIDToTypeID( "kashidaDefault" );

                              desc130.putEnumerated( idkashidas, idkashidas, idkashidaDefault );

                              var iddiacVPos = stringIDToTypeID( "diacVPos" );

                              var iddiacVPos = stringIDToTypeID( "diacVPos" );

                              var iddiacVPosOpenType = stringIDToTypeID( "diacVPosOpenType" );

                              desc130.putEnumerated( iddiacVPos, iddiacVPos, iddiacVPosOpenType );

                              var iddiacXOffset = stringIDToTypeID( "diacXOffset" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( iddiacXOffset, idPnt, 0.000000 );

                              var iddiacYOffset = stringIDToTypeID( "diacYOffset" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( iddiacYOffset, idPnt, 0.000000 );

                              var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );

                              var idbaseline = stringIDToTypeID( "baseline" );

                              var idbaseline = stringIDToTypeID( "baseline" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc130.putEnumerated( idbaseline, idbaseline, idNrml );

                              var idotbaseline = stringIDToTypeID( "otbaseline" );

                              var idotbaseline = stringIDToTypeID( "otbaseline" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc130.putEnumerated( idotbaseline, idotbaseline, idNrml );

                              var idstrikethrough = stringIDToTypeID( "strikethrough" );

                              var idstrikethrough = stringIDToTypeID( "strikethrough" );

                              var idstrikethroughOff = stringIDToTypeID( "strikethroughOff" );

                              desc130.putEnumerated( idstrikethrough, idstrikethrough, idstrikethroughOff );

                              var idUndl = charIDToTypeID( "Undl" );

                              var idUndl = charIDToTypeID( "Undl" );

                              var idunderlineOff = stringIDToTypeID( "underlineOff" );

                              desc130.putEnumerated( idUndl, idUndl, idunderlineOff );

                              var idunderlineOffset = stringIDToTypeID( "underlineOffset" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idunderlineOffset, idPnt, 0.000000 );

                              var idligature = stringIDToTypeID( "ligature" );

                              desc130.putBoolean( idligature, true );

                              var idaltligature = stringIDToTypeID( "altligature" );

                              desc130.putBoolean( idaltligature, false );

                              var idcontextualLigatures = stringIDToTypeID( "contextualLigatures" );

                              desc130.putBoolean( idcontextualLigatures, false );

                              var idalternateLigatures = stringIDToTypeID( "alternateLigatures" );

                              desc130.putBoolean( idalternateLigatures, false );

                              var idoldStyle = stringIDToTypeID( "oldStyle" );

                              desc130.putBoolean( idoldStyle, false );

                              var idfractions = stringIDToTypeID( "fractions" );

                              desc130.putBoolean( idfractions, false );

                              var idordinals = stringIDToTypeID( "ordinals" );

                              desc130.putBoolean( idordinals, false );

                              var idswash = stringIDToTypeID( "swash" );

                              desc130.putBoolean( idswash, false );

                              var idtitling = stringIDToTypeID( "titling" );

                              desc130.putBoolean( idtitling, false );

                              var idconnectionForms = stringIDToTypeID( "connectionForms" );

                              desc130.putBoolean( idconnectionForms, false );

                              var idstylisticAlternates = stringIDToTypeID( "stylisticAlternates" );

                              desc130.putBoolean( idstylisticAlternates, false );

                              var idornaments = stringIDToTypeID( "ornaments" );

                              desc130.putBoolean( idornaments, false );

                              var idjustificationAlternates = stringIDToTypeID( "justificationAlternates" );

                              desc130.putBoolean( idjustificationAlternates, false );

                              var idfigureStyle = stringIDToTypeID( "figureStyle" );

                              var idfigureStyle = stringIDToTypeID( "figureStyle" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc130.putEnumerated( idfigureStyle, idfigureStyle, idNrml );

                              var idproportionalMetrics = stringIDToTypeID( "proportionalMetrics" );

                              desc130.putBoolean( idproportionalMetrics, false );

                              var idkana = stringIDToTypeID( "kana" );

                              desc130.putBoolean( idkana, false );

                              var iditalics = stringIDToTypeID( "italics" );

                              desc130.putBoolean( iditalics, false );

                              var idruby = stringIDToTypeID( "ruby" );

                              desc130.putBoolean( idruby, false );

                              var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                              var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                              var idrotated = stringIDToTypeID( "rotated" );

                              desc130.putEnumerated( idbaselineDirection, idbaselineDirection, idrotated );

                              var idtextLanguage = stringIDToTypeID( "textLanguage" );

                              var idtextLanguage = stringIDToTypeID( "textLanguage" );

                              var idenglishLanguage = stringIDToTypeID( "englishLanguage" );

                              desc130.putEnumerated( idtextLanguage, idtextLanguage, idenglishLanguage );

                              var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );

                              var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );

                              var iddefaultForm = stringIDToTypeID( "defaultForm" );

                              desc130.putEnumerated( idjapaneseAlternate, idjapaneseAlternate, iddefaultForm );

                              var idmojiZume = stringIDToTypeID( "mojiZume" );

                              desc130.putDouble( idmojiZume, 0.000000 );

                              var idgridAlignment = stringIDToTypeID( "gridAlignment" );

                              var idgridAlignment = stringIDToTypeID( "gridAlignment" );

                              var idroman = stringIDToTypeID( "roman" );

                              desc130.putEnumerated( idgridAlignment, idgridAlignment, idroman );

                              var idenableWariChu = stringIDToTypeID( "enableWariChu" );

                              desc130.putBoolean( idenableWariChu, false );

                              var idwariChuCount = stringIDToTypeID( "wariChuCount" );

                              desc130.putInteger( idwariChuCount, 2 );

                              var idwariChuLineGap = stringIDToTypeID( "wariChuLineGap" );

                              desc130.putInteger( idwariChuLineGap, 0 );

                              var idwariChuScale = stringIDToTypeID( "wariChuScale" );

                              desc130.putDouble( idwariChuScale, 0.500000 );

                              var idwariChuWidow = stringIDToTypeID( "wariChuWidow" );

                              desc130.putInteger( idwariChuWidow, 2 );

                              var idwariChuOrphan = stringIDToTypeID( "wariChuOrphan" );

                              desc130.putInteger( idwariChuOrphan, 2 );

                              var idwariChuJustification = stringIDToTypeID( "wariChuJustification" );

                              var idwariChuJustification = stringIDToTypeID( "wariChuJustification" );

                              var idwariChuAutoJustify = stringIDToTypeID( "wariChuAutoJustify" );

                              desc130.putEnumerated( idwariChuJustification, idwariChuJustification, idwariChuAutoJustify );

                              var idtcyUpDown = stringIDToTypeID( "tcyUpDown" );

                              desc130.putInteger( idtcyUpDown, 0 );

                              var idtcyLeftRight = stringIDToTypeID( "tcyLeftRight" );

                              desc130.putInteger( idtcyLeftRight, 0 );

                              var idleftAki = stringIDToTypeID( "leftAki" );

                              desc130.putDouble( idleftAki, -1.000000 );

                              var idrightAki = stringIDToTypeID( "rightAki" );

                              desc130.putDouble( idrightAki, -1.000000 );

                              var idjiDori = stringIDToTypeID( "jiDori" );

                              desc130.putInteger( idjiDori, 0 );

                              var idnoBreak = stringIDToTypeID( "noBreak" );

                              desc130.putBoolean( idnoBreak, false );

                              var idClr = charIDToTypeID( "Clr " );

                                  var desc131 = new ActionDescriptor();

                                  var idRd = charIDToTypeID( "Rd  " );

                                  desc131.putDouble( idRd, 0.000000 );

                                  var idGrn = charIDToTypeID( "Grn " );

                                  desc131.putDouble( idGrn, 0.000000 );

                                  var idBl = charIDToTypeID( "Bl  " );

                                  desc131.putDouble( idBl, 0.000000 );

                              var idRGBC = charIDToTypeID( "RGBC" );

                              desc130.putObject( idClr, idRGBC, desc131 );

                              var idstrokeColor = stringIDToTypeID( "strokeColor" );

                                  var desc132 = new ActionDescriptor();

                                  var idRd = charIDToTypeID( "Rd  " );

                                  desc132.putDouble( idRd, 0.000000 );

                                  var idGrn = charIDToTypeID( "Grn " );

                                  desc132.putDouble( idGrn, 0.000000 );

                                  var idBl = charIDToTypeID( "Bl  " );

                                  desc132.putDouble( idBl, 0.000000 );

                              var idRGBC = charIDToTypeID( "RGBC" );

                              desc130.putObject( idstrokeColor, idRGBC, desc132 );

                              var idFl = charIDToTypeID( "Fl  " );

                              desc130.putBoolean( idFl, true );

                              var idStrk = charIDToTypeID( "Strk" );

                              desc130.putBoolean( idStrk, false );

                              var idfillFirst = stringIDToTypeID( "fillFirst" );

                              desc130.putBoolean( idfillFirst, true );

                              var idfillOverPrint = stringIDToTypeID( "fillOverPrint" );

                              desc130.putBoolean( idfillOverPrint, false );

                              var idstrokeOverPrint = stringIDToTypeID( "strokeOverPrint" );

                              desc130.putBoolean( idstrokeOverPrint, false );

                              var idlineCap = stringIDToTypeID( "lineCap" );

                              var idlineCap = stringIDToTypeID( "lineCap" );

                              var idbuttCap = stringIDToTypeID( "buttCap" );

                              desc130.putEnumerated( idlineCap, idlineCap, idbuttCap );

                              var idlineJoin = stringIDToTypeID( "lineJoin" );

                              var idlineJoin = stringIDToTypeID( "lineJoin" );

                              var idmiterJoin = stringIDToTypeID( "miterJoin" );

                              desc130.putEnumerated( idlineJoin, idlineJoin, idmiterJoin );

                              var idlineWidth = stringIDToTypeID( "lineWidth" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idlineWidth, idPnt, 1.000000 );

                              var idmiterLimit = stringIDToTypeID( "miterLimit" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc130.putUnitDouble( idmiterLimit, idPnt, 4.000000 );

                              var idlineDashoffset = stringIDToTypeID( "lineDashoffset" );

                              desc130.putDouble( idlineDashoffset, 0.000000 );

                          var idTxtS = charIDToTypeID( "TxtS" );

                          desc127.putObject( idbaseParentStyle, idTxtS, desc130 );

                      var idTxtS = charIDToTypeID( "TxtS" );

                      desc126.putObject( idTxtS, idTxtS, desc127 );

                  var idTxtt = charIDToTypeID( "Txtt" );

                  list10.putObject( idTxtt, desc126 );

              desc119.putList( idTxtt, list10 );

              var idparagraphStyleRange = stringIDToTypeID( "paragraphStyleRange" );

                  var list11 = new ActionList();

                      var desc133 = new ActionDescriptor();

                      var idFrom = charIDToTypeID( "From" );

                      desc133.putInteger( idFrom, 0 );

                      var idT = charIDToTypeID( "T   " );

                      desc133.putInteger( idT, 6 );

                      var idparagraphStyle = stringIDToTypeID( "paragraphStyle" );

                          var desc134 = new ActionDescriptor();

                          var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );

                          desc134.putBoolean( idstyleSheetHasParent, true );

                          var idAlgn = charIDToTypeID( "Algn" );

                          var idAlg = charIDToTypeID( "Alg " );

                          var idLeft = charIDToTypeID( "Left" );

                          desc134.putEnumerated( idAlgn, idAlg, idLeft );

                          var idfirstLineIndent = stringIDToTypeID( "firstLineIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idfirstLineIndent, idPnt, 0.000000 );

                          var idimpliedFirstLineIndent = stringIDToTypeID( "impliedFirstLineIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idimpliedFirstLineIndent, idPnt, 0.000000 );

                          var idstartIndent = stringIDToTypeID( "startIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idstartIndent, idPnt, 0.000000 );

                          var idimpliedStartIndent = stringIDToTypeID( "impliedStartIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idimpliedStartIndent, idPnt, 0.000000 );

                          var idendIndent = stringIDToTypeID( "endIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idendIndent, idPnt, 0.000000 );

                          var idimpliedEndIndent = stringIDToTypeID( "impliedEndIndent" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idimpliedEndIndent, idPnt, 0.000000 );

                          var idspaceBefore = stringIDToTypeID( "spaceBefore" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idspaceBefore, idPnt, 0.000000 );

                          var idimpliedSpaceBefore = stringIDToTypeID( "impliedSpaceBefore" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idimpliedSpaceBefore, idPnt, 0.000000 );

                          var idspaceAfter = stringIDToTypeID( "spaceAfter" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idspaceAfter, idPnt, 0.000000 );

                          var idimpliedSpaceAfter = stringIDToTypeID( "impliedSpaceAfter" );

                          var idPnt = charIDToTypeID( "#Pnt" );

                          desc134.putUnitDouble( idimpliedSpaceAfter, idPnt, 0.000000 );

                          var iddropCapMultiplier = stringIDToTypeID( "dropCapMultiplier" );

                          desc134.putInteger( iddropCapMultiplier, 1 );

                          var idautoLeadingPercentage = stringIDToTypeID( "autoLeadingPercentage" );

                          desc134.putDouble( idautoLeadingPercentage, 1.200000 );

                          var idleadingType = stringIDToTypeID( "leadingType" );

                          var idleadingType = stringIDToTypeID( "leadingType" );

                          var idleadingBelow = stringIDToTypeID( "leadingBelow" );

                          desc134.putEnumerated( idleadingType, idleadingType, idleadingBelow );

                          var iddirectionType = stringIDToTypeID( "directionType" );

                          var iddirectionType = stringIDToTypeID( "directionType" );

                          var iddirLeftToRight = stringIDToTypeID( "dirLeftToRight" );

                          desc134.putEnumerated( iddirectionType, iddirectionType, iddirLeftToRight );

                          var idkashidaWidthType = stringIDToTypeID( "kashidaWidthType" );

                          var idkashidaWidthType = stringIDToTypeID( "kashidaWidthType" );

                          var idkashidaWidthMedium = stringIDToTypeID( "kashidaWidthMedium" );

                          desc134.putEnumerated( idkashidaWidthType, idkashidaWidthType, idkashidaWidthMedium );

                          var idjustificationMethodType = stringIDToTypeID( "justificationMethodType" );

                          var idjustificationMethodType = stringIDToTypeID( "justificationMethodType" );

                          var idjustifMethodAutomatic = stringIDToTypeID( "justifMethodAutomatic" );

                          desc134.putEnumerated( idjustificationMethodType, idjustificationMethodType, idjustifMethodAutomatic );

                          var idhyphenate = stringIDToTypeID( "hyphenate" );

                          desc134.putBoolean( idhyphenate, true );

                          var idhyphenateWordSize = stringIDToTypeID( "hyphenateWordSize" );

                          desc134.putInteger( idhyphenateWordSize, 6 );

                          var idhyphenatePreLength = stringIDToTypeID( "hyphenatePreLength" );

                          desc134.putInteger( idhyphenatePreLength, 2 );

                          var idhyphenatePostLength = stringIDToTypeID( "hyphenatePostLength" );

                          desc134.putInteger( idhyphenatePostLength, 2 );

                          var idhyphenateLimit = stringIDToTypeID( "hyphenateLimit" );

                          desc134.putInteger( idhyphenateLimit, 0 );

                          var idhyphenationZone = stringIDToTypeID( "hyphenationZone" );

                          desc134.putDouble( idhyphenationZone, 36.000000 );

                          var idhyphenateCapitalized = stringIDToTypeID( "hyphenateCapitalized" );

                          desc134.putBoolean( idhyphenateCapitalized, true );

                          var idhyphenationPreference = stringIDToTypeID( "hyphenationPreference" );

                          desc134.putDouble( idhyphenationPreference, 0.500000 );

                          var idjustificationWordMinimum = stringIDToTypeID( "justificationWordMinimum" );

                          desc134.putDouble( idjustificationWordMinimum, 0.800000 );

                          var idjustificationWordDesired = stringIDToTypeID( "justificationWordDesired" );

                          desc134.putDouble( idjustificationWordDesired, 1.000000 );

                          var idjustificationWordMaximum = stringIDToTypeID( "justificationWordMaximum" );

                          desc134.putDouble( idjustificationWordMaximum, 1.330000 );

                          var idjustificationLetterMinimum = stringIDToTypeID( "justificationLetterMinimum" );

                          desc134.putDouble( idjustificationLetterMinimum, 0.000000 );

                          var idjustificationLetterDesired = stringIDToTypeID( "justificationLetterDesired" );

                          desc134.putDouble( idjustificationLetterDesired, 0.000000 );

                          var idjustificationLetterMaximum = stringIDToTypeID( "justificationLetterMaximum" );

                          desc134.putDouble( idjustificationLetterMaximum, 0.000000 );

                          var idjustificationGlyphMinimum = stringIDToTypeID( "justificationGlyphMinimum" );

                          desc134.putDouble( idjustificationGlyphMinimum, 1.000000 );

                          var idjustificationGlyphDesired = stringIDToTypeID( "justificationGlyphDesired" );

                          desc134.putDouble( idjustificationGlyphDesired, 1.000000 );

                          var idjustificationGlyphMaximum = stringIDToTypeID( "justificationGlyphMaximum" );

                          desc134.putDouble( idjustificationGlyphMaximum, 1.000000 );

                          var idsingleWordJustification = stringIDToTypeID( "singleWordJustification" );

                          var idAlg = charIDToTypeID( "Alg " );

                          var idJstA = charIDToTypeID( "JstA" );

                          desc134.putEnumerated( idsingleWordJustification, idAlg, idJstA );

                          var idhangingRoman = stringIDToTypeID( "hangingRoman" );

                          desc134.putBoolean( idhangingRoman, false );

                          var idautoTCY = stringIDToTypeID( "autoTCY" );

                          desc134.putInteger( idautoTCY, 0 );

                          var idkeepTogether = stringIDToTypeID( "keepTogether" );

                          desc134.putBoolean( idkeepTogether, true );

                          var idburasagari = stringIDToTypeID( "burasagari" );

                          var idburasagari = stringIDToTypeID( "burasagari" );

                          var idburasagariNone = stringIDToTypeID( "burasagariNone" );

                          desc134.putEnumerated( idburasagari, idburasagari, idburasagariNone );

                          var idpreferredKinsokuOrder = stringIDToTypeID( "preferredKinsokuOrder" );

                          var idpreferredKinsokuOrder = stringIDToTypeID( "preferredKinsokuOrder" );

                          var idpushIn = stringIDToTypeID( "pushIn" );

                          desc134.putEnumerated( idpreferredKinsokuOrder, idpreferredKinsokuOrder, idpushIn );

                          var idkurikaeshiMojiShori = stringIDToTypeID( "kurikaeshiMojiShori" );

                          desc134.putBoolean( idkurikaeshiMojiShori, false );

                          var idtextEveryLineComposer = stringIDToTypeID( "textEveryLineComposer" );

                          desc134.putBoolean( idtextEveryLineComposer, false );

                          var iddefaultTabWidth = stringIDToTypeID( "defaultTabWidth" );

                          desc134.putDouble( iddefaultTabWidth, 36.000000 );

                          var iddefaultStyle = stringIDToTypeID( "defaultStyle" );

                              var desc135 = new ActionDescriptor();

                              var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );

                              desc135.putString( idfontPostScriptName, """MyriadPro-Regular""" );

                              var idFntN = charIDToTypeID( "FntN" );

                              desc135.putString( idFntN, """Myriad Pro""" );

                              var idFntS = charIDToTypeID( "FntS" );

                              desc135.putString( idFntS, """Regular""" );

                              var idScrp = charIDToTypeID( "Scrp" );

                              desc135.putInteger( idScrp, 0 );

                              var idFntT = charIDToTypeID( "FntT" );

                              desc135.putInteger( idFntT, 0 );

                              var idSz = charIDToTypeID( "Sz  " );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc135.putUnitDouble( idSz, idPnt, 12.000000 );

                              var idHrzS = charIDToTypeID( "HrzS" );

                              desc135.putDouble( idHrzS, 100.000000 );

                              var idVrtS = charIDToTypeID( "VrtS" );

                              desc135.putDouble( idVrtS, 100.000000 );

                              var idsyntheticBold = stringIDToTypeID( "syntheticBold" );

                              desc135.putBoolean( idsyntheticBold, false );

                              var idsyntheticItalic = stringIDToTypeID( "syntheticItalic" );

                              desc135.putBoolean( idsyntheticItalic, false );

                              var idautoLeading = stringIDToTypeID( "autoLeading" );

                              desc135.putBoolean( idautoLeading, true );

                              var idTrck = charIDToTypeID( "Trck" );

                              desc135.putInteger( idTrck, 0 );

                              var idBsln = charIDToTypeID( "Bsln" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc135.putUnitDouble( idBsln, idPnt, 0.000000 );

                              var idcharacterRotation = stringIDToTypeID( "characterRotation" );

                              desc135.putDouble( idcharacterRotation, 0.000000 );

                              var idAtKr = charIDToTypeID( "AtKr" );

                              var idAtKr = charIDToTypeID( "AtKr" );

                              var idmetricsKern = stringIDToTypeID( "metricsKern" );

                              desc135.putEnumerated( idAtKr, idAtKr, idmetricsKern );

                              var idfontCaps = stringIDToTypeID( "fontCaps" );

                              var idfontCaps = stringIDToTypeID( "fontCaps" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc135.putEnumerated( idfontCaps, idfontCaps, idNrml );

                              var iddigitSet = stringIDToTypeID( "digitSet" );

                              var iddigitSet = stringIDToTypeID( "digitSet" );

                              var idarabicDigits = stringIDToTypeID( "arabicDigits" );

                              desc135.putEnumerated( iddigitSet, iddigitSet, idarabicDigits );

                              var idkashidas = stringIDToTypeID( "kashidas" );

                              var idkashidas = stringIDToTypeID( "kashidas" );

                              var idkashidaDefault = stringIDToTypeID( "kashidaDefault" );

                              desc135.putEnumerated( idkashidas, idkashidas, idkashidaDefault );

                              var iddiacVPos = stringIDToTypeID( "diacVPos" );

                              var iddiacVPos = stringIDToTypeID( "diacVPos" );

                              var iddiacVPosOpenType = stringIDToTypeID( "diacVPosOpenType" );

                              desc135.putEnumerated( iddiacVPos, iddiacVPos, iddiacVPosOpenType );

                              var iddiacXOffset = stringIDToTypeID( "diacXOffset" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc135.putUnitDouble( iddiacXOffset, idPnt, 0.000000 );

                              var iddiacYOffset = stringIDToTypeID( "diacYOffset" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc135.putUnitDouble( iddiacYOffset, idPnt, 0.000000 );

                              var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );

                              var idPnt = charIDToTypeID( "#Pnt" );

                              desc135.putUnitDouble( idmarkYDistFromBaseline, idPnt, 0.000000 );

                              var idbaseline = stringIDToTypeID( "baseline" );

                              var idbaseline = stringIDToTypeID( "baseline" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc135.putEnumerated( idbaseline, idbaseline, idNrml );

                              var idstrikethrough = stringIDToTypeID( "strikethrough" );

                              var idstrikethrough = stringIDToTypeID( "strikethrough" );

                              var idstrikethroughOff = stringIDToTypeID( "strikethroughOff" );

                              desc135.putEnumerated( idstrikethrough, idstrikethrough, idstrikethroughOff );

                              var idUndl = charIDToTypeID( "Undl" );

                              var idUndl = charIDToTypeID( "Undl" );

                              var idunderlineOff = stringIDToTypeID( "underlineOff" );

                              desc135.putEnumerated( idUndl, idUndl, idunderlineOff );

                              var idligature = stringIDToTypeID( "ligature" );

                              desc135.putBoolean( idligature, true );

                              var idaltligature = stringIDToTypeID( "altligature" );

                              desc135.putBoolean( idaltligature, false );

                              var idcontextualLigatures = stringIDToTypeID( "contextualLigatures" );

                              desc135.putBoolean( idcontextualLigatures, true );

                              var idalternateLigatures = stringIDToTypeID( "alternateLigatures" );

                              desc135.putBoolean( idalternateLigatures, false );

                              var idoldStyle = stringIDToTypeID( "oldStyle" );

                              desc135.putBoolean( idoldStyle, false );

                              var idfractions = stringIDToTypeID( "fractions" );

                              desc135.putBoolean( idfractions, false );

                              var idordinals = stringIDToTypeID( "ordinals" );

                              desc135.putBoolean( idordinals, false );

                              var idswash = stringIDToTypeID( "swash" );

                              desc135.putBoolean( idswash, false );

                              var idtitling = stringIDToTypeID( "titling" );

                              desc135.putBoolean( idtitling, false );

                              var idconnectionForms = stringIDToTypeID( "connectionForms" );

                              desc135.putBoolean( idconnectionForms, false );

                              var idstylisticAlternates = stringIDToTypeID( "stylisticAlternates" );

                              desc135.putBoolean( idstylisticAlternates, false );

                              var idornaments = stringIDToTypeID( "ornaments" );

                              desc135.putBoolean( idornaments, false );

                              var idfigureStyle = stringIDToTypeID( "figureStyle" );

                              var idfigureStyle = stringIDToTypeID( "figureStyle" );

                              var idNrml = charIDToTypeID( "Nrml" );

                              desc135.putEnumerated( idfigureStyle, idfigureStyle, idNrml );

                              var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                              var idbaselineDirection = stringIDToTypeID( "baselineDirection" );

                              var idwithStream = stringIDToTypeID( "withStream" );

                              desc135.putEnumerated( idbaselineDirection, idbaselineDirection, idwithStream );

                              var idtextLanguage = stringIDToTypeID( "textLanguage" );

                              var idtextLanguage = stringIDToTypeID( "textLanguage" );

                              var idenglishLanguage = stringIDToTypeID( "englishLanguage" );

                              desc135.putEnumerated( idtextLanguage, idtextLanguage, idenglishLanguage );

                              var idClr = charIDToTypeID( "Clr " );

                                  var desc136 = new ActionDescriptor();

                                  var idRd = charIDToTypeID( "Rd  " );

                                  desc136.putDouble( idRd, 0.000000 );

                                  var idGrn = charIDToTypeID( "Grn " );

                                  desc136.putDouble( idGrn, 0.000000 );

                                  var idBl = charIDToTypeID( "Bl  " );

                                  desc136.putDouble( idBl, 0.000000 );

                              var idRGBC = charIDToTypeID( "RGBC" );

                              desc135.putObject( idClr, idRGBC, desc136 );

                              var idstrokeColor = stringIDToTypeID( "strokeColor" );

                                  var desc137 = new ActionDescriptor();

                                  var idRd = charIDToTypeID( "Rd  " );

                                  desc137.putDouble( idRd, 0.000000 );

                                  var idGrn = charIDToTypeID( "Grn " );

                                  desc137.putDouble( idGrn, 0.000000 );

                                  var idBl = charIDToTypeID( "Bl  " );

                                  desc137.putDouble( idBl, 0.000000 );

                              var idRGBC = charIDToTypeID( "RGBC" );

                              desc135.putObject( idstrokeColor, idRGBC, desc137 );

                          var idTxtS = charIDToTypeID( "TxtS" );

                          desc134.putObject( iddefaultStyle, idTxtS, desc135 );

                      var idparagraphStyle = stringIDToTypeID( "paragraphStyle" );

                      desc133.putObject( idparagraphStyle, idparagraphStyle, desc134 );

                  var idparagraphStyleRange = stringIDToTypeID( "paragraphStyleRange" );

                  list11.putObject( idparagraphStyleRange, desc133 );

              desc119.putList( idparagraphStyleRange, list11 );

              var idkerningRange = stringIDToTypeID( "kerningRange" );

                  var list12 = new ActionList();

              desc119.putList( idkerningRange, list12 );

          var idTxLr = charIDToTypeID( "TxLr" );

          desc118.putObject( idT, idTxLr, desc119 );

      executeAction( idsetd, desc118, DialogModes.NO );

      }