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

Determine if script has just run

Engaged ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

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?

 

 

TOPICS
Actions and scripting , Windows

Views

136
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 ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

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? 

Votes

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
Engaged ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

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.

 

 

Votes

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 ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

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