Photoshop_Script

■パネルを呼び出すスクリプト

ウィンドウ>エクステンション の文字列を

引数として持たせればOK。

openPanel("Test");

function openPanel(Name) {

var desc1 = new ActionDescriptor();

var ref1 = new ActionReference();

ref1.putName( charIDToTypeID('Mn '), Name);

desc1.putReference( charIDToTypeID('null'), ref1 );

try{

executeAction( charIDToTypeID('slct'), desc1, DialogModes.NO );

}catch(e){}

};