Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // =======================================================
- var idslct = charIDToTypeID( "slct" );
- var desc60 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref30 = new ActionReference();
- var idLyr = charIDToTypeID( "Lyr " );
- ref30.putName( idLyr, "Expansion Symbol" );
- desc60.putReference( idnull, ref30 );
- var idMkVs = charIDToTypeID( "MkVs" );
- desc60.putBoolean( idMkVs, false );
- var idLyrI = charIDToTypeID( "LyrI" );
- var list8 = new ActionList();
- list8.putInteger( 9851 );
- desc60.putList( idLyrI, list8 );
- executeAction( idslct, desc60, DialogModes.NO );
- // =======================================================
- var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
- var desc61 = new ActionDescriptor();
- var idcommandID = stringIDToTypeID( "commandID" );
- desc61.putInteger( idcommandID, 3031 );
- var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
- desc61.putBoolean( idkcanDispatchWhileModal, true );
- executeAction( idinvokeCommand, desc61, DialogModes.NO );
- // =======================================================
- var idsetd = charIDToTypeID( "setd" );
- var desc62 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref31 = new ActionReference();
- var idChnl = charIDToTypeID( "Chnl" );
- var idfsel = charIDToTypeID( "fsel" );
- ref31.putProperty( idChnl, idfsel );
- desc62.putReference( idnull, ref31 );
- var idT = charIDToTypeID( "T " );
- var ref32 = new ActionReference();
- var idChnl = charIDToTypeID( "Chnl" );
- var idChnl = charIDToTypeID( "Chnl" );
- var idTrsp = charIDToTypeID( "Trsp" );
- ref32.putEnumerated( idChnl, idChnl, idTrsp );
- desc62.putReference( idT, ref32 );
- executeAction( idsetd, desc62, DialogModes.NO );
- // =======================================================
- var idslct = charIDToTypeID( "slct" );
- var desc63 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref33 = new ActionReference();
- var idLyr = charIDToTypeID( "Lyr " );
- ref33.putName( idLyr, "Layer 2" );
- desc63.putReference( idnull, ref33 );
- var idMkVs = charIDToTypeID( "MkVs" );
- desc63.putBoolean( idMkVs, false );
- var idLyrI = charIDToTypeID( "LyrI" );
- var list9 = new ActionList();
- list9.putInteger( 9865 );
- desc63.putList( idLyrI, list9 );
- executeAction( idslct, desc63, DialogModes.NO );
- // =======================================================
- var idslct = charIDToTypeID( "slct" );
- var desc64 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref34 = new ActionReference();
- var idmoveTool = stringIDToTypeID( "moveTool" );
- ref34.putClass( idmoveTool );
- desc64.putReference( idnull, ref34 );
- var iddontRecord = stringIDToTypeID( "dontRecord" );
- desc64.putBoolean( iddontRecord, true );
- var idforceNotify = stringIDToTypeID( "forceNotify" );
- desc64.putBoolean( idforceNotify, true );
- executeAction( idslct, desc64, DialogModes.NO );
- // =======================================================
- var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
- var desc65 = new ActionDescriptor();
- var idcommandID = stringIDToTypeID( "commandID" );
- desc65.putInteger( idcommandID, 1233 );
- var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
- desc65.putBoolean( idkcanDispatchWhileModal, true );
- executeAction( idinvokeCommand, desc65, DialogModes.NO );
- // =======================================================
- var idAlgn = charIDToTypeID( "Algn" );
- var desc66 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref35 = new ActionReference();
- var idLyr = charIDToTypeID( "Lyr " );
- var idOrdn = charIDToTypeID( "Ordn" );
- var idTrgt = charIDToTypeID( "Trgt" );
- ref35.putEnumerated( idLyr, idOrdn, idTrgt );
- desc66.putReference( idnull, ref35 );
- var idUsng = charIDToTypeID( "Usng" );
- var idADSt = charIDToTypeID( "ADSt" );
- var idAdCV = charIDToTypeID( "AdCV" );
- desc66.putEnumerated( idUsng, idADSt, idAdCV );
- executeAction( idAlgn, desc66, DialogModes.NO );
- // =======================================================
- var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
- var desc67 = new ActionDescriptor();
- var idcommandID = stringIDToTypeID( "commandID" );
- desc67.putInteger( idcommandID, 1236 );
- var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
- desc67.putBoolean( idkcanDispatchWhileModal, true );
- executeAction( idinvokeCommand, desc67, DialogModes.NO );
- // =======================================================
- var idAlgn = charIDToTypeID( "Algn" );
- var desc68 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref36 = new ActionReference();
- var idLyr = charIDToTypeID( "Lyr " );
- var idOrdn = charIDToTypeID( "Ordn" );
- var idTrgt = charIDToTypeID( "Trgt" );
- ref36.putEnumerated( idLyr, idOrdn, idTrgt );
- desc68.putReference( idnull, ref36 );
- var idUsng = charIDToTypeID( "Usng" );
- var idADSt = charIDToTypeID( "ADSt" );
- var idAdCH = charIDToTypeID( "AdCH" );
- desc68.putEnumerated( idUsng, idADSt, idAdCH );
- executeAction( idAlgn, desc68, DialogModes.NO );
- // =======================================================
- var idinvokeCommand = stringIDToTypeID( "invokeCommand" );
- var desc69 = new ActionDescriptor();
- var idcommandID = stringIDToTypeID( "commandID" );
- desc69.putInteger( idcommandID, 1016 );
- var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
- desc69.putBoolean( idkcanDispatchWhileModal, true );
- executeAction( idinvokeCommand, desc69, DialogModes.NO );
- // =======================================================
- var idsetd = charIDToTypeID( "setd" );
- var desc70 = new ActionDescriptor();
- var idnull = charIDToTypeID( "null" );
- var ref37 = new ActionReference();
- var idChnl = charIDToTypeID( "Chnl" );
- var idfsel = charIDToTypeID( "fsel" );
- ref37.putProperty( idChnl, idfsel );
- desc70.putReference( idnull, ref37 );
- var idT = charIDToTypeID( "T " );
- var idOrdn = charIDToTypeID( "Ordn" );
- var idNone = charIDToTypeID( "None" );
- desc70.putEnumerated( idT, idOrdn, idNone );
- executeAction( idsetd, desc70, DialogModes.NO );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement