From 8dbeca747ca45d1163fd2b6c6b1a75c7b440e112 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Mon, 4 Jul 2022 10:42:54 +1000 Subject: [PATCH] Fixed filenames with whitespace (output with underscore), clear cache (purge all) to help stop the 'scratch disk full', close photoshop when script ends --- .../photoshop_registration_all_sites.jsx | 38 ++++++++++++++++--- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/coastsnap/photoshop_registration_all_sites.jsx b/coastsnap/photoshop_registration_all_sites.jsx index c6d552a..161ed35 100644 --- a/coastsnap/photoshop_registration_all_sites.jsx +++ b/coastsnap/photoshop_registration_all_sites.jsx @@ -28,9 +28,9 @@ var site_names = csv_data.toString().split(",") // Retrieve images parent directory from CoastSnap_Sites.csv var parent_folder_path = File(site_names[9]); - var batch_images_to_register = []; // Used in exportLayersToJPEG + // Loop through sites for(var i=5; i