Setting Artboard Background to Transparent
Hi, im trying to use Photoshop Javascript to programmatically make the Artboards Background Transparent. I know how to do it via the GUI. Please take a look at the screenshot below. In this same manner i wish to set the background to Transparent instead of "White" or "Black". I tried using ScriptListener Plugin, but im fairly new to it and it seemed that i would have to provide the coordinates of the Artboard Layer rather than the name of the Artboard Layer in order to try to change it to transparent. Please take a look at the generated CLEAN-SL code below. If someone could provide a clue.. i wish to simply select Artboard by its name (Since its easier) or another technique and then change it to transparent.
thanks

editArtboardEvent(6720, 64, 7220, 564, "", 255, 255, 255, 3, 8, 1);
function editArtboardEvent(top, left, bottom, right, artboardPresetName, red, Grn, blue, artboardBackgroundType, changeSizes, changeBackground) {
var c2t = function (s) {
return app.charIDToTypeID(s);
};
var s2t = function (s) {
return app.stringIDToTypeID(s);
};
var descriptor = new ActionDescriptor();
var descriptor2 = new ActionDescriptor();
var descriptor3 = new ActionDescriptor();
var descriptor4 = new ActionDescriptor();
var list = new ActionList();
var reference = new ActionReference();
reference.putEnumerated( s2t( "layer" ), s2t( "ordinal" ), s2t( "targetEnum" ));
descriptor.putReference( c2t( "null" ), reference );
descriptor3.putDouble( s2t( "top" ), top );
descriptor3.putDouble( s2t( "left" ), left );
descriptor3.putDouble( s2t( "bottom" ), bottom );
descriptor3.putDouble( s2t( "right" ), right );
descriptor2.putObject( s2t( "artboardRect" ), s2t( "classFloatRect" ), descriptor3 );
descriptor2.putList( s2t( "guideIDs" ), list );
descriptor2.putString( s2t( "artboardPresetName" ), artboardPresetName );
descriptor4.putDouble( s2t( "red" ), red );
descriptor4.putDouble( c2t( "Grn " ), Grn );
descriptor4.putDouble( s2t( "blue" ), blue );
descriptor2.putObject( s2t( "color" ), s2t( "RGBColor" ), descriptor4 );
descriptor2.putInteger( s2t( "artboardBackgroundType" ), artboardBackgroundType );
descriptor.putObject( s2t( "artboard" ), s2t( "artboard" ), descriptor2 );
descriptor.putInteger( s2t( "changeSizes" ), changeSizes );
descriptor.putInteger( s2t( "changeBackground" ), changeBackground );
executeAction( s2t( "editArtboardEvent" ), descriptor, DialogModes.NO );
}
