atomicLayers
photoshop_select_layer_by_name
Select the active layer by exact name, including layers inside groups. Use when: a transform or property tool must target a named layer (photoshop_scale_layer, etc.). Do NOT use when: the layer is already active — check photoshop_get_state first. Returns: selected, layerName, kind, bounds (best-effort), context. First depth-first name match wins when duplicate names exist in different groups. Preconditions: active document. Side effects: changes active layer.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Exact layer name (case-sensitive) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe