I have multiple PDFs being input to a Switch hotfolder. Each PDF contains imposed artwork that can vary in position on the page from PDF to PDF. What is common is the position based on the file name ie
*SML* = will have artwork in one position
*LRG* = will have artwork in a different position.
What I want to be able to do is use the "variable" of the filename to determine where I add a text line (slugline) on the page
ie
filename containing SML will have x,y of 5,5
filename containing LRG will have x,y of 10,10
I can make it work having multiple fixed actions but I'm trying to condense into one action that can read the filename and place the text accordingly.
Is this possible as I struggle to use the filename as in input variable.
Hope that makes some kind of sense
Document name added to a variable position based on file name
Re: Document name added to a variable position based on file name
Do you have the scripting module?
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore
Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Free Switch apps: open-automation @ Enfocus appstore
Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Re: Document name added to a variable position based on file name
If you want it done in one step, you'll have to build a script to translate that variable in the file name to the coordinate values, possibly saving them in private data. If you didn't have the scripting module, you could route jobs around and use JobState for this.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore
Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Free Switch apps: open-automation @ Enfocus appstore
Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.