background color

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

background color

Post by kurdishpro »

hi ,
i need code for ( dialog or/window ) background color
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: background color

Post by Kukurykus »

Code: Select all

backgroundColor.rgb.hexValue
kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

Re: background color

Post by kurdishpro »

Bro Not Work

backgroundColor.rgb.hexValue = #c8ac88;
or
backgroundColor.rgb.hexValue = [0.0, 0.4, 0.0];
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: background color

Post by Kukurykus »

Code: Select all

'c8ac88'
kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

Re: background color

Post by kurdishpro »

bro don't work

dialog.backgroundColor.rgb.hexValue = 'c8ac88';
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: background color

Post by Kukurykus »

Without dialog (?!) that works ;)
kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

Re: background color

Post by kurdishpro »

dear don't work ??
Attachments
Capture.JPG
Capture.JPG (62.67 KiB) Viewed 5180 times
kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

Re: background color

Post by kurdishpro »

i want to change dialog background color
Attachments
Capture.JPG
Capture.JPG (118.41 KiB) Viewed 5180 times
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: background color

Post by txuku »

Bonjour

Yes it works well! :)

What exactly do you want?
Use the new Window () method?
kurdishpro
Posts: 10
Joined: Thu Apr 30, 2020 12:34 pm
Location: iraq,kurdistan-erbil

Re: background color

Post by kurdishpro »

i want to change window background color
Attachments
asas.JPG
asas.JPG (105.59 KiB) Viewed 5178 times
Last edited by kurdishpro on Tue Jun 09, 2020 9:10 am, edited 1 time in total.