Copy link to clipboard
Copied
I'd like to know how many files I have open in PS (lots). I see the list in "Window" menu, but it continues past the bottom of the screen. Is there a location PS keeps track of the number of files open?
I was wrong the scriop would not need to add 1
With a Photoshop script that would be the length of the Photoshop's documents array.
if (!documents.length) alert("No Open documents");
else alert(documents.length);
Copy link to clipboard
Copied
With a Photoshop script that would be the length of the Photoshop's document array. You may need to add 1 for we count from 0 not 1 so if the length is 9 the are 10 document in Photoshop. 0 1 2 3 4 5 6 7 8 9
Copy link to clipboard
Copied
how do you do this?
Copy link to clipboard
Copied
I was wrong the scriop would not need to add 1
With a Photoshop script that would be the length of the Photoshop's documents array.
if (!documents.length) alert("No Open documents");
else alert(documents.length);
Copy link to clipboard
Copied
Thank you, JJ. This will be very helpful.
Copy link to clipboard
Copied
you are correct i do not think their is a way to see how many opened files. Any body else have any ideas?