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

Need a script to Time Track

New Here ,
Dec 11, 2022 Dec 11, 2022

Copy link to clipboard

Copied

Need a script to Track - How much time I worked to complete the image in a log file

 

Please help

TOPICS
Actions and scripting

Views

369

Likes

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 ,
Dec 11, 2022 Dec 11, 2022

Copy link to clipboard

Copied

I believe that you would need to run the timer script once to set the start time. Then run it a second time to set the completion time. It wouldn't be an active timer, just a manual start/stop log.

 

A basic example:

 

#target photoshop

var os = $.os.toLowerCase().indexOf("mac") >= 0 ? "mac" : "windows";
if (os === "mac") {
    logFileLF = "Unix";
} else {
    logFileLF = "Windows";
}
var logFile = new File('~/Desktop/Log_File.txt');
var dateTime = new Date().toLocaleString();
logFile.open("a");
logFile.encoding = "UTF-8";
logFile.lineFeed = logFileLF;
logFile.writeln(dateTime);
logFile.writeln(activeDocument.name);
logFile.writeln("\r");
logFile.close();

 

If an active timer was run from say Adobe Bridge, then it could be left active running until it was stopped, without tying up Photoshop.

 

Likes

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 ,
Dec 12, 2022 Dec 12, 2022

Copy link to clipboard

Copied

There are apps that specifically track comouter usage and time, look around on the Interwebs for reviews.

Likes

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 ,
Dec 12, 2022 Dec 12, 2022

Copy link to clipboard

Copied

LATEST

If you go the the plug in section of the CC app (the rainbow icon app that centralises all Adobe offerings)

Imaginerie_1-1670858112616.png

 

 

you'll find a plethora of time trackers specifically for Photoshop. I haven't tested any, but there is a rating system available so you can make your own mind.

Some are free, some aren't! I know they're not scripts, but thought it would help!

Likes

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