That's not very helpful without pointing to something that could address my specific question..
That's like somebody asking the way and you give them a globe.
app.foregroundColor.rgb.red = Math.random() * 255
app.foregroundColor.rgb.green = Math.random() * 255
app.foregroundColor.rgb.blue = Math.random() * 255
app.backgroundColor.rgb.red = Math.random() * 255
app.backgroundColor.rgb.green = Math.random() * 255
app.backgroundColor.rgb.blue = Math.random() * 255
I was hoping someone could at least point me in the direction of
triggering the background color being changed.
I know just the basics of extensions and don't mind reading up if I know where to look in the first place..
I have never setup a Photoshop Custom Script Event. I have only use some of the ones Adobe setup. I do not know if you would be able to add one for set background/foreground Color. Also I believe event are only triggered when Photoshop UI is being used. That Actions and Scripts that change Photoshop's brush colors would not trigger a script events. You may need to trigger your event after using script and scripts that change brush colors.