iterate items in single layer

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

poortip

iterate items in single layer

Post by poortip »

Hi,

I have a layer in which I have created three rectangle objects by pressing the shift key during drawing.This caused the three rectangles to be created in a single layer. Now I select two rectangles out of three using the selection tool. How will I get the information of selected objects in the layer through scripting? I want this because I want to get the selected object's height/width and other properties.

How can I do this?

Thanks!