Copy link to clipboard
Copied
I have figured out how to use the Bridge script to bring metadata into a file using this script:
https://github.com/Paul-Riggott/PS-Scripts/blob/master/DIY%20Metadata.jsx
but the formatting of the dialog box is such that it is difficult to read. The background is white and the type is light gray. Where do I tweak the code to adjust this?
Mac OSX Bridge 2023
screenshot of dialogue box attached
Thanks
Ron
If you are okay with the default grey background, add two forward slashes( // ) in front of this line to disable the color.
win.graphics.backgroundColor = win.graphics.newBrush(win.graphics.BrushType.SOLID_COLOR, [1.00, 1.00, 1.00, 1]);
Copy link to clipboard
Copied
If you are okay with the default grey background, add two forward slashes( // ) in front of this line to disable the color.
win.graphics.backgroundColor = win.graphics.newBrush(win.graphics.BrushType.SOLID_COLOR, [1.00, 1.00, 1.00, 1]);
Copy link to clipboard
Copied
Thanks gregreser for the simple fix
Both your and Stephen_A_Marsh's answers worked perfectly!
Copy link to clipboard
Copied
You can try commenting out // or deleting the var myBrush line:
// var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, [0.99, 0.99, 0.99, 1]);
Or changing the values:
var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, [0.2, 0.2, 0.2, 1]);
However, my current preferred method is:
var myBrush = g.newBrush(g.BrushType.THEME_COLOR, "appDialogBackground");
Have fun!
Copy link to clipboard
Copied
Thanks for the advice -- worked great