Question
activeDocument array?
Does Photoshop keep an array of it's activeDocuments? Not a list of the documents history, which is held in documents. But Photoshop files that are currently open. So app.activeDocument[1] would be the document you used last and app.activeDocument[0] is the current one.
for (var i = 0; i < activeDocuments.length; i++)
{
// Something
}Obviously the above doesn't work. - But you get the idea.
Hopefully.
