From f5ca83ddc13c9ec1c115f23b47f0eeaba624e5e5 Mon Sep 17 00:00:00 2001 From: jonoc Date: Tue, 20 Jun 2023 08:40:13 +1000 Subject: [PATCH 1/3] Pop up error message resolving in PSUserConfig.txt --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9245426..e3bd871 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Run `2_batch_photoshop_registration.bat` Script Logic: For every site in `coastsnap_sites.csv`, iterate through the sites' Processed images (Images/Site/Processed). For any image that hasn't already been photoshop registered (in Images/Site/Photoshop), register it. -* To get rid of the popup error when running this script (which you'll want to do if running this as a scheduled task): +* To get rid of the popup error "You are about to run the script containing...." when running this script, which you'll want to do if running this as a scheduled task: 1. Create a text file 2. Add this to the file @@ -87,8 +87,8 @@ Script Logic: For every site in `coastsnap_sites.csv`, iterate through the sites VMForceBuffering 1 WarnRunningScripts 0 ``` - 3. Call it PSUserConfig.txt and save as C:\Users\z5079346\AppData\Roaming\Adobe\Adobe Photoshop 2022\Adobe Photoshop 2022 Settings\PSUserConfig.txt - (changing the zID and Photoshop version if required) + 3. Call it PSUserConfig.txt and save as C:\Users\[Username]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings\PSUserConfig.txt + (Replacing Username and Version. Note, if you can't find the folder 'AppData', you may need to check 'show hidden folders') * This script is based on the manual photoshop registration process, but additionally resizes images to the same width or height of the Target image prior to registration: https://unsw.sharepoint.com/:w:/r/sites/Coastsnap/_layouts/15/doc2.aspx?action=edit&sourcedoc=%7B49c9d377-f450-40bf-93e4-6ff0f289e889%7D&wdOrigin=TEAMS-ELECTRON.teams.chiclet&wdExp=TEAMS-CONTROL * Output images are all 1280px wide and will have the same aspect ratio as the sites' Target.jpg image * Batch Size: Images are registered with the target and seed images, in batches of 15. This is set on line 13 of `photoshop_registration_all_sites.jsx` and can be changed. Images may be registered in smaller batch sizes if there are less than 15 images in the Site/Processed/Year folder. From 16ab5f797f8faf7885c1d6dd1b0195f7475b9db6 Mon Sep 17 00:00:00 2001 From: jonoc Date: Tue, 20 Jun 2023 08:41:53 +1000 Subject: [PATCH 2/3] Pop up error message resolving in PSUserConfig.txt --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3bd871..9eff219 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,11 @@ Script Logic: For every site in `coastsnap_sites.csv`, iterate through the sites VMForceBuffering 1 WarnRunningScripts 0 ``` - 3. Call it PSUserConfig.txt and save as C:\Users\[Username]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings\PSUserConfig.txt - (Replacing Username and Version. Note, if you can't find the folder 'AppData', you may need to check 'show hidden folders') + 3. Call it PSUserConfig.txt and save as + ```sh + C:\Users\[Username]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings\PSUserConfig.txt + ``` + (Replacing Username and Version. Note, if you can't find the folder 'AppData', you may need to check 'show hidden folders') * This script is based on the manual photoshop registration process, but additionally resizes images to the same width or height of the Target image prior to registration: https://unsw.sharepoint.com/:w:/r/sites/Coastsnap/_layouts/15/doc2.aspx?action=edit&sourcedoc=%7B49c9d377-f450-40bf-93e4-6ff0f289e889%7D&wdOrigin=TEAMS-ELECTRON.teams.chiclet&wdExp=TEAMS-CONTROL * Output images are all 1280px wide and will have the same aspect ratio as the sites' Target.jpg image * Batch Size: Images are registered with the target and seed images, in batches of 15. This is set on line 13 of `photoshop_registration_all_sites.jsx` and can be changed. Images may be registered in smaller batch sizes if there are less than 15 images in the Site/Processed/Year folder. From d0577f0244ad63fb928b802dd4325d611800ee64 Mon Sep 17 00:00:00 2001 From: jonoc Date: Tue, 20 Jun 2023 08:43:13 +1000 Subject: [PATCH 3/3] Update 'README.md' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9eff219..b097b8f 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Script Logic: For every site in `coastsnap_sites.csv`, iterate through the sites ```sh C:\Users\[Username]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings\PSUserConfig.txt ``` - (Replacing Username and Version. Note, if you can't find the folder 'AppData', you may need to check 'show hidden folders') + (Replacing Username and Version. Note, if you can't find the folder 'AppData', you may need to check 'show hidden folders') * This script is based on the manual photoshop registration process, but additionally resizes images to the same width or height of the Target image prior to registration: https://unsw.sharepoint.com/:w:/r/sites/Coastsnap/_layouts/15/doc2.aspx?action=edit&sourcedoc=%7B49c9d377-f450-40bf-93e4-6ff0f289e889%7D&wdOrigin=TEAMS-ELECTRON.teams.chiclet&wdExp=TEAMS-CONTROL * Output images are all 1280px wide and will have the same aspect ratio as the sites' Target.jpg image * Batch Size: Images are registered with the target and seed images, in batches of 15. This is set on line 13 of `photoshop_registration_all_sites.jsx` and can be changed. Images may be registered in smaller batch sizes if there are less than 15 images in the Site/Processed/Year folder.