Does anyone know if there is a way to get a layers kind such as normal, solidfill, or fillgradient like is available when using scripts (app.documents.layers.kind)?
If you look in the descriptor for the layer, the 'adjustment' (that's a string ID) key contains a list of descriptors (I've only ever seen this list have one item). The type of the descriptor for the list items tells you the type of adjustment layer. For a solid fill layer, for example, it is 'solidColorLayer' (another string ID), or for a gradient layer it’s 'gradientLayer'. A normal layer doesn't have the 'adjustment' property in its descriptor at all.
Europe, Middle East and Africa