How to get layers refs from inactive document (AAM)?

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: xbytor, DavideBarranca, Paul MR

Post Reply
boogalooper
Posts: 1
Joined: Sun Oct 06, 2019 1:51 pm

How to get layers refs from inactive document (AAM)?

Post by boogalooper » Sun Oct 06, 2019 1:52 pm

Good afternoon! I am writing a script that looks for layers with certain characteristics among open documents.

Is there a way to get references to layers of an inactive document through AAM (now my script switches to the next document in advance, but for the user this mode of operation is not very comfortable).

There are a lot of documents (usually more than 20, in each ~ 50 layers) - the DOM makes it possible to access layers of inactive documents, but it works very slowly when you need to iterate over all layers.


Post Reply