How to get stroke color and stroke size of rectangle?

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

AmanMehra

How to get stroke color and stroke size of rectangle?

Post by AmanMehra »

Hi All,

I am building an extension for CS6 and CC version. I want to get the stroke color and stroke size of the shape objects.
I am able to get the values if stroke is applied through effect. But I am not able to get the stroke color and stroke size values if applied through properties panel i.e. through new live shape feature.

Is there any way to do this?
Need your help guys, it's the major one functionality of the extension without this I am not able to move forward.

Thanks
AM