How do I check if any document is open in Photoshop?
Through Photoshop Script
I've tried activeDocument.length
, but it returns that activeDocument is not defined.
I wanted something like this:
if(documents.open === 0){
alert('NO DOCUMENT');
} else {
alert('DOCUMENT OPEN');
}
Close, but no banana. You want
See it here: