//View actual pixels at 100%
//Attach to the Open Document event in Photoshop CS 2
var id33 = charIDToTypeID( "slct" );
    var desc11 = new ActionDescriptor();
    var id34 = charIDToTypeID( "null" );
        var ref2 = new ActionReference();
        var id35 = charIDToTypeID( "Mn  " );
        var id36 = charIDToTypeID( "MnIt" );
        var id37 = charIDToTypeID( "FtOn" );
        ref2.putEnumerated( id35, id36, id37 );
    desc11.putReference( id34, ref2 );
executeAction( id33, desc11, DialogModes.NO );
// =======================================================
var id28 = charIDToTypeID( "slct" );
    var desc10 = new ActionDescriptor();
    var id29 = charIDToTypeID( "null" );
        var ref1 = new ActionReference();
        var id30 = charIDToTypeID( "Mn  " );
        var id31 = charIDToTypeID( "MnIt" );
        var id32 = charIDToTypeID( "ActP" );
        ref1.putEnumerated( id30, id31, id32 );
    desc10.putReference( id29, ref1 );
executeAction( id28, desc10, DialogModes.NO );

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