Seconds

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

mead
Posts: 20
Joined: Sat Jul 23, 2022 12:28 am

Seconds

Post by mead »

How to determine how many seconds the script has run

How many seconds did JSX run

How to determine how many minutes or seconds the jsx has run
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: Seconds

Post by Kukurykus »

Put at beginning:

Code: Select all

$.hiresTimer
Then log result to console at end:

Code: Select all

$.hiresTimer / 1000000
mead
Posts: 20
Joined: Sat Jul 23, 2022 12:28 am

Re: Seconds

Post by mead »

Thank you very much, thank you