Search found 3 matches

by iMatt
Fri Sep 22, 2017 10:47 pm
Forum: Photoshop Scripting - General Discussion
Topic: Script to take sample color from image
Replies: 2
Views: 6373

Re: Script to take sample color from image

I agree that we may need some images that illustrate your problem more clearly. But I thought I would point out that you don't need a script to generate the average color of the canvas you can simple go to Filter>Blur>Average, and this will generate the average color of the document.
by iMatt
Fri Sep 22, 2017 8:25 pm
Forum: Photoshop Scripting - General Discussion
Topic: Can I create ArtBoards via scripting in PS?
Replies: 1
Views: 5249

Re: Can I create ArtBoards via scripting in PS?

There's a very useful forum post here: https://forums.adobe.com/thread/1867670 That outlines accessing a number artboard properties and methods that are not exposed in the Photoshop DOM. Otherwise you'll need to use the script listener to do anything with artboards. The documentation hasn't been upd...
by iMatt
Fri Sep 22, 2017 8:19 pm
Forum: Photoshop Scripting - General Discussion
Topic: Select all pixels in image by specified rgb value in action? Or script?
Replies: 1
Views: 5265

Re: Select all pixels in image by specified rgb value in action? Or script?

Hi There- You may be able to do this with an action using Select>Color Range... Rather than using the magic wand. When recording color range the action records luminance values rather than click coordinates—which is what magic wand does. Since all 63 colors are always the same you can record a color...