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
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.
Copy link to clipboard
Copied
There are apps that specifically track comouter usage and time, look around on the Interwebs for reviews.
Copy link to clipboard
Copied
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!