• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to tell how many files are open without counting them?

LEGEND ,
Oct 25, 2017 Oct 25, 2017

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?

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 25, 2017 Oct 25, 2017

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);

Capture.jpg

Votes

Translate

Translate
Adobe
Community Expert ,
Oct 25, 2017 Oct 25, 2017

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

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2017 Oct 25, 2017

Copy link to clipboard

Copied

how do you do this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2017 Oct 25, 2017

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);

Capture.jpg

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 25, 2017 Oct 25, 2017

Copy link to clipboard

Copied

LATEST

Thank you, JJ. This will be very helpful.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2017 Oct 25, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines