From 9d65a51e89135750a6f498ea28b77116744f6ff7 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Wed, 22 Jun 2022 17:20:01 +1000 Subject: [PATCH] Updated README.md --- coastsnap/batch_photoshop_registration.bat | 11 +++++++++++ coastsnap/batch_spotteron_download.bat | 3 +++ coastsnap/batch_tag_registered.bat | 3 +++ coastsnap/photoshop_registration.bat | 1 - coastsnap/photoshop_registration_all_sites.jsx | 12 ++++++------ coastsnap/photoshop_registration_one_site.jsx | 2 +- coastsnap/spotteron_batch_download.bat | 3 --- 7 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 coastsnap/batch_photoshop_registration.bat create mode 100644 coastsnap/batch_spotteron_download.bat create mode 100644 coastsnap/batch_tag_registered.bat delete mode 100644 coastsnap/photoshop_registration.bat delete mode 100644 coastsnap/spotteron_batch_download.bat diff --git a/coastsnap/batch_photoshop_registration.bat b/coastsnap/batch_photoshop_registration.bat new file mode 100644 index 0000000..8950e3c --- /dev/null +++ b/coastsnap/batch_photoshop_registration.bat @@ -0,0 +1,11 @@ +GOTO comment + +The following command runs the photoshop javascript file "photoshop_registration_all_sites.jsx" that is in this directory. + +You may need to change the photoshop version (year) in the command below to your version +E.g. "\Adobe Photoshop 2022\" may need to be "\Adobe Photoshop 2021\" + +:comment + + +"C:\Program Files\Adobe\Adobe Photoshop 2022\Photoshop.exe" -r "%~dp0photoshop_registration_all_sites.jsx" \ No newline at end of file diff --git a/coastsnap/batch_spotteron_download.bat b/coastsnap/batch_spotteron_download.bat new file mode 100644 index 0000000..7b8e297 --- /dev/null +++ b/coastsnap/batch_spotteron_download.bat @@ -0,0 +1,3 @@ +call activate coastsnap +python "%~dp0spotteron_batch_download.py" +call conda deactivate \ No newline at end of file diff --git a/coastsnap/batch_tag_registered.bat b/coastsnap/batch_tag_registered.bat new file mode 100644 index 0000000..33d3f6b --- /dev/null +++ b/coastsnap/batch_tag_registered.bat @@ -0,0 +1,3 @@ +call activate coastsnap +python "%~dp0tag_registered.py" +call conda deactivate \ No newline at end of file diff --git a/coastsnap/photoshop_registration.bat b/coastsnap/photoshop_registration.bat deleted file mode 100644 index 49bb5f2..0000000 --- a/coastsnap/photoshop_registration.bat +++ /dev/null @@ -1 +0,0 @@ -"C:\Program Files\Adobe\Adobe Photoshop 2022\Photoshop.exe" -r "C:\Users\z5079346\OneDrive - UNSW\Projects\Coastsnap\coastsnap\photoshop_registration_all_sites.jsx" \ No newline at end of file diff --git a/coastsnap/photoshop_registration_all_sites.jsx b/coastsnap/photoshop_registration_all_sites.jsx index e2d127d..c6d552a 100644 --- a/coastsnap/photoshop_registration_all_sites.jsx +++ b/coastsnap/photoshop_registration_all_sites.jsx @@ -29,12 +29,12 @@ 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 exportLayersToPNG +var batch_images_to_register = []; // Used in exportLayersToJPEG // Loop through sites for(var i=5; i