PSP Scripts

5 posts / 0 new
Last post
PSP Scripts

I was wondering if anyone had the text editing part of scripts that opens the color palette dialog box?

I've been trying to make new scripts to no avail. Unfortunately, my scripts got "lost" in the transfer and are irretrievable (old pc was wiped and given to friend's kids), so I can't copy & paste the text from any of those. Hoping someone can point me in the right direction! smiley

Would you be referring to this snippet?

# SetMaterialStyle
App.Do( Environment, 'SetMaterialStyle', {
'Style': App.Constants.MaterialStyle.Color,
'IsPrimary': App.Constants.Boolean.false
})

COLOR = App.Do(Environment,'GetMaterial',{
'IsPrimary':App.Constants.Boolean.true,
'GeneralSettings': {
'ExecutionMode':App.Constants.ExecutionMode.Interactive
}
})

(note: the spacing on the left is not respected as it should, in this display)

Yeah, I think that's it. It's been quite a few years since I've looked at. lol But just to make sure, I want to be able to pick a color, gradient, or pattern while running the script. For instance, a multi-layered flower with one color on top, another on the bottom, and another for the flower center. Thank you so much for your assistance!

Would you be able to send me an email? That way, I can send you the code in the correct format (which is lost in the forum)

Okay, sure thing. Thank you very much!!! smiley