We have a Photoshop plugin which runs a jsx file, which works great apart from when the CC license isn’t active, the Dialog pops up and instead of failing the job it marks the task as complete. What I need is a timer check to see if the task completed in less than 15 seconds, which means it’s been incorrectly marked as complete as task times are always over 2 minutes, and thus fail the task so another computer can attempt to pick it up.
How can I add this to our plugin?