Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.51 KB | None | 0 0
  1. // =======================================================
  2. var idslct = charIDToTypeID( "slct" );
  3. var desc60 = new ActionDescriptor();
  4. var idnull = charIDToTypeID( "null" );
  5. var ref30 = new ActionReference();
  6. var idLyr = charIDToTypeID( "Lyr " );
  7. ref30.putName( idLyr, "Expansion Symbol" );
  8. desc60.putReference( idnull, ref30 );
  9. var idMkVs = charIDToTypeID( "MkVs" );
  10. desc60.putBoolean( idMkVs, false );
  11. var idLyrI = charIDToTypeID( "LyrI" );
  12. var list8 = new ActionList();
  13. list8.putInteger( 9851 );
  14. desc60.putList( idLyrI, list8 );
  15. executeAction( idslct, desc60, DialogModes.NO );
  16.  
  17. // =======================================================
  18. var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
  19. var desc61 = new ActionDescriptor();
  20. var idcommandID = stringIDToTypeID( "commandID" );
  21. desc61.putInteger( idcommandID, 3031 );
  22. var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
  23. desc61.putBoolean( idkcanDispatchWhileModal, true );
  24. executeAction( idinvokeCommand, desc61, DialogModes.NO );
  25.  
  26. // =======================================================
  27. var idsetd = charIDToTypeID( "setd" );
  28. var desc62 = new ActionDescriptor();
  29. var idnull = charIDToTypeID( "null" );
  30. var ref31 = new ActionReference();
  31. var idChnl = charIDToTypeID( "Chnl" );
  32. var idfsel = charIDToTypeID( "fsel" );
  33. ref31.putProperty( idChnl, idfsel );
  34. desc62.putReference( idnull, ref31 );
  35. var idT = charIDToTypeID( "T " );
  36. var ref32 = new ActionReference();
  37. var idChnl = charIDToTypeID( "Chnl" );
  38. var idChnl = charIDToTypeID( "Chnl" );
  39. var idTrsp = charIDToTypeID( "Trsp" );
  40. ref32.putEnumerated( idChnl, idChnl, idTrsp );
  41. desc62.putReference( idT, ref32 );
  42. executeAction( idsetd, desc62, DialogModes.NO );
  43.  
  44. // =======================================================
  45. var idslct = charIDToTypeID( "slct" );
  46. var desc63 = new ActionDescriptor();
  47. var idnull = charIDToTypeID( "null" );
  48. var ref33 = new ActionReference();
  49. var idLyr = charIDToTypeID( "Lyr " );
  50. ref33.putName( idLyr, "Layer 2" );
  51. desc63.putReference( idnull, ref33 );
  52. var idMkVs = charIDToTypeID( "MkVs" );
  53. desc63.putBoolean( idMkVs, false );
  54. var idLyrI = charIDToTypeID( "LyrI" );
  55. var list9 = new ActionList();
  56. list9.putInteger( 9865 );
  57. desc63.putList( idLyrI, list9 );
  58. executeAction( idslct, desc63, DialogModes.NO );
  59.  
  60. // =======================================================
  61. var idslct = charIDToTypeID( "slct" );
  62. var desc64 = new ActionDescriptor();
  63. var idnull = charIDToTypeID( "null" );
  64. var ref34 = new ActionReference();
  65. var idmoveTool = stringIDToTypeID( "moveTool" );
  66. ref34.putClass( idmoveTool );
  67. desc64.putReference( idnull, ref34 );
  68. var iddontRecord = stringIDToTypeID( "dontRecord" );
  69. desc64.putBoolean( iddontRecord, true );
  70. var idforceNotify = stringIDToTypeID( "forceNotify" );
  71. desc64.putBoolean( idforceNotify, true );
  72. executeAction( idslct, desc64, DialogModes.NO );
  73.  
  74. // =======================================================
  75. var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
  76. var desc65 = new ActionDescriptor();
  77. var idcommandID = stringIDToTypeID( "commandID" );
  78. desc65.putInteger( idcommandID, 1233 );
  79. var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
  80. desc65.putBoolean( idkcanDispatchWhileModal, true );
  81. executeAction( idinvokeCommand, desc65, DialogModes.NO );
  82.  
  83. // =======================================================
  84. var idAlgn = charIDToTypeID( "Algn" );
  85. var desc66 = new ActionDescriptor();
  86. var idnull = charIDToTypeID( "null" );
  87. var ref35 = new ActionReference();
  88. var idLyr = charIDToTypeID( "Lyr " );
  89. var idOrdn = charIDToTypeID( "Ordn" );
  90. var idTrgt = charIDToTypeID( "Trgt" );
  91. ref35.putEnumerated( idLyr, idOrdn, idTrgt );
  92. desc66.putReference( idnull, ref35 );
  93. var idUsng = charIDToTypeID( "Usng" );
  94. var idADSt = charIDToTypeID( "ADSt" );
  95. var idAdCV = charIDToTypeID( "AdCV" );
  96. desc66.putEnumerated( idUsng, idADSt, idAdCV );
  97. executeAction( idAlgn, desc66, DialogModes.NO );
  98.  
  99. // =======================================================
  100. var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
  101. var desc67 = new ActionDescriptor();
  102. var idcommandID = stringIDToTypeID( "commandID" );
  103. desc67.putInteger( idcommandID, 1236 );
  104. var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
  105. desc67.putBoolean( idkcanDispatchWhileModal, true );
  106. executeAction( idinvokeCommand, desc67, DialogModes.NO );
  107.  
  108. // =======================================================
  109. var idAlgn = charIDToTypeID( "Algn" );
  110. var desc68 = new ActionDescriptor();
  111. var idnull = charIDToTypeID( "null" );
  112. var ref36 = new ActionReference();
  113. var idLyr = charIDToTypeID( "Lyr " );
  114. var idOrdn = charIDToTypeID( "Ordn" );
  115. var idTrgt = charIDToTypeID( "Trgt" );
  116. ref36.putEnumerated( idLyr, idOrdn, idTrgt );
  117. desc68.putReference( idnull, ref36 );
  118. var idUsng = charIDToTypeID( "Usng" );
  119. var idADSt = charIDToTypeID( "ADSt" );
  120. var idAdCH = charIDToTypeID( "AdCH" );
  121. desc68.putEnumerated( idUsng, idADSt, idAdCH );
  122. executeAction( idAlgn, desc68, DialogModes.NO );
  123.  
  124. // =======================================================
  125. var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
  126. var desc69 = new ActionDescriptor();
  127. var idcommandID = stringIDToTypeID( "commandID" );
  128. desc69.putInteger( idcommandID, 1016 );
  129. var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
  130. desc69.putBoolean( idkcanDispatchWhileModal, true );
  131. executeAction( idinvokeCommand, desc69, DialogModes.NO );
  132.  
  133. // =======================================================
  134. var idsetd = charIDToTypeID( "setd" );
  135. var desc70 = new ActionDescriptor();
  136. var idnull = charIDToTypeID( "null" );
  137. var ref37 = new ActionReference();
  138. var idChnl = charIDToTypeID( "Chnl" );
  139. var idfsel = charIDToTypeID( "fsel" );
  140. ref37.putProperty( idChnl, idfsel );
  141. desc70.putReference( idnull, ref37 );
  142. var idT = charIDToTypeID( "T " );
  143. var idOrdn = charIDToTypeID( "Ordn" );
  144. var idNone = charIDToTypeID( "None" );
  145. desc70.putEnumerated( idT, idOrdn, idNone );
  146. executeAction( idsetd, desc70, DialogModes.NO );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement