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