Copy link to clipboard
Copied
var bt = new BridgeTalk();
bt.target = "photoshop";
bt.body = "var palette = " + fn.toString() + "; palette();"
bt.send();
function fn() {
var dialog = new Window("palette", undefined, undefined, { closeButton: true });
dialog.text = "Dialog";
dialog.orientation = "column";
dialog.alignChildren = ["center", "top"];
dialog.spacing = 10;
dialog.margins = 16;
var button1 = dialog.add("button", undefined, undefined, { name: "button1" });
button1.text = "";
button1.onClick = function () { adicionar_mais() };
dialog.show();
Copy link to clipboard
Copied
Please describe what you want to achieve in words or at least in mock-up images.
I found one thread that provides an example of tabs ind a dialog:
Copy link to clipboard
Copied
thanks ,,
but help to "palette" not to be dialog
Copy link to clipboard
Copied
Sorry, but that is not clear to me.
Maybe you could write the description in your native/preferred tongue and we will see if the auto-translation works well enough for language.
Copy link to clipboard
Copied
var bt = new BridgeTalk();
bt.target = "photoshop";
bt.body = "var palette = " + fn.toString() + "; palette();"
bt.send();
function fn() {
var dialog = new Window("palette", undefined, undefined, { closeButton: true });
dialog.text = "Dialog";
dialog.orientation = "column";
dialog.alignChildren = ["center", "top"];
dialog.spacing = 10;
dialog.margins = 16;
var button1 = dialog.add("button", undefined, undefined, { name: "button1" });
button1.text = "";
button1.onClick = function () { adicionar_mais() };
dialog.show();
this script option on "panel/tab' .....add