Skip to main content
Inspiring
June 11, 2024
Question

Determine if script has just run

  • June 11, 2024
  • 2 replies
  • 231 views

I'll just put this out there...

 

I don't suppose there is a way to determine if a script has just been run through Photoshop or not?

 

I'd quite like to keep taps on my top 10 most used scripts - that sort of thing.

 

Any ideas?

 

 

This topic has been closed for replies.

2 replies

Legend
June 11, 2024

External recordkeeping, you would be saving this info independently anyway. Photoshop does some logging but you'd have to look at the various log files to see what they contain.

c.pfaffenbichler
Community Expert
Community Expert
June 11, 2024

You could add a »counter« by having each Script add a date to a txt-file for example, similar to a preferences-txt-file. 

Though this might get to be a drag on performance. 

 

What is the ultimate point of the exercise? 

Inspiring
June 11, 2024

What is the ultimate point of the exercise? 

 

- Just a whimsical idea really. 

 

A, I just wanted to see if you can access that kind of infomation through scripting in Photoshop

 

and

 

B, Work out my most frequently used called/used scripts are and see if I can improve them.