• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit Search
0

tab oppion add ? on palette

Explorer ,
Jan 14, 2023 Jan 14, 2023

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();Screenshot 2023.jpg

TOPICS
Windows

Views

238

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2023 Jan 15, 2023

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: 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/help-with-tabs-in-the-scriptui/m-p/95...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 15, 2023 Jan 15, 2023

Copy link to clipboard

Copied

thanks ,,

but help to "palette" not to be dialog

FsI5QPphi4.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2023 Jan 15, 2023

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 20, 2023 Jan 20, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines