Skip to main content
Participant
Dec 11, 2022 9:10 AM UTC
Question

Need a script to Time Track

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

 

Please help

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Imaginerie
Community Expert
Community Expert
Dec 12, 2022 3:15 PM UTC

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

 

 

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!

Translate
Legend
Dec 12, 2022 2:42 PM UTC

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

Translate
Stephen Marsh
Community Expert
Community Expert
Dec 11, 2022 12:44 PM UTC

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.

 

Translate