Hi there,
I am a total noob regarding Photoshop scripting or scripting as such and am therefor struggling to find a solution for my project (it needs to be JS, as it has to run on both Mac and Win). I am not sure if what I have in mind is actually possible or how elaborate it is, but maybe there are some pro's out there that may have some advice for me …
I was asked to simplify the workflow of a localization process. It involves exchanging text (e.g. pulled from an excel or .csv file) and an image contained within a smart object, both located in a folder within a photoshop file (psd). There might be some other objects within the folders, but these do not need to be exchanged. There are 5 folders enclosed within the .psd in total, each representing a new image, that needs to be saved seperately. So in the end I have saved 5 different versions extracted from 1 file.
As I have to do this for 15 languages in 5 different sizes (for several different projects), it can get quite tedious (not to mention VERY boring) in the long run. Anyway …
This would be the Photoshop layer/folder structure:
Logo
[folder 1]
- Text 1
- SmartObject 1
[folder 2]
- Text 2
- SmartObject 2
…
[folder 5]
- Text 5
- SmartObject 5
Background Image
The Logo and Background image will always remain the same and do not need to be exchanged.
The process would be as follows (all folders that are not in use should be hidden):
[Folder 1]
Replace Text with Text 1 from .csv
Replace image 1 within SmartObject 1
Save as [Folder 1] jpg
Hide [Folder 1]
Display [Folder 2]
Replace Text with Text 2 from .csv
Replace image 2 within SmartObject 2
Save as [Folder 2] jpg
Hide [Folder 2]
Display [Folder 3]
Replace Text with Text 2 from .csv
Replace image 3 within SmartObject 3
Save as [Folder 3] jpg
Hide [Folder 3]
etc.
Is this doable at all, or is this just some stupid idea? Would there be other ways to approach this?
Alternatively - if it would make the script simpler - I could also separate the 5 images/folders into single psds - lets say:
PSD 1
Logo
[folder 1]
- Text 1
- SmartObject 1
Background
PSD 2
Logo
[folder 2]
- Text 2
- SmartObject 2
Background
etc.
I'd really appreciate any sort of help or a nudge in the right direction.
Thanks in advance!!
jaznag