Script to Move Selected Text Layers into a Specific Folder (Create If Not Exists)
Hi everyone,
I’m looking for a Photoshop script that can help organize layers with the following behavior:
- Move the selected layers into a layer group (folder) with a fixed name (for example: “A”)
- If the group does not exist, the script should create it automatically
- If the group already exists, the script should move the selected layers into that existing group
If anyone has an existing script, sample code, or advice on how to implement this in Photoshop scripting, I’d really appreciate it.
Thanks a lot!
