私は、ダイアログボックスを作成しようとすると間欠的に成功しています。コードは有効です。私がなぜ分からないダイアログボックス - コンストラクタがありません
Error 22:Window does not have a constructor
:
try
{
// Create an empty dialog window near the upper left of the screen
var dlg = new Window("dialog", "Alert Box Builder");
dlg.frameLocation = [100,100];
dlg.show();
}
catch(e)
{
alert(e);
}
は、時にはそれは時々、私はエラーを取得し、動作します。 Photoshopの設定を削除したり、管理者として実行しても動作しないようです(Win7ではCCを実行しています)。