Copy link to clipboard
Copied
I want to sweep templates for almost 100 Books and each book contains 1000's of FM files.
Copy link to clipboard
Copied
What does 'sweep' mean in detail?
Keep in mind that changing names of formats or consolidating two (or more) formats into one would require not only to modify the template but also each file!
Before we can provide some ideas for the task we need more details...
Copy link to clipboard
Copied
When it come right down to it. Photoshop is not designed to be a Batch images Processor. 100 Book templates that will contain 1000 FM files means that the Batch will process 100 Templates files and process 1000 FM files for each template and save at least one output file for each template. The Batch process would process 100 Template Files + 100,000 FM Files + 100 output file. How long do you think it will takes Photoshop to process 100,0200 Files., When my slow 2GHz Windows 10 PC is running a well performing good version of Photoshop I would estimate that batch job would require around 2 days to complete. I think Photoshop may be able to process 2,500 files per hour. around 40 - 42 files per minute. On a faster machine Photoshop may be able to process a file a second the batch job would only take 28 hours. Actions and Scripts do not execute as fast as compiled programs.
Copy link to clipboard
Copied
Photoshop is not designed to be a Batch images Processor.
→ You may have a look at ImBatch (https://imbatch.com/)
Since You are talkink mainly about Photoshop the relation to FrameMaker is unclear.
Copy link to clipboard
Copied
If you do a search for Adobe Batch file processing this link will pop up https://helpx.adobe.com/photoshop/using/processing-batch-files.html which is about Adobe Photoshop Script Image Processor. I was just trying to state that Photoshop is not really suited for large batch jobs that would process 100,000 files. I know nothing about Adobe FramsMaker. It sounded like Sweeping 100 Book template that contain 1000 files each would be a larger batch job. That the if they need to process 100,000 files they should look for a Batch Process application designed to process many file perhaps using many threads to process multiple files concurrently. Photoshop is not that. I was searching Batch and saw the question so I replied.
It is also unclear what sweeping templates involves. Most of the Batch image processor I found on the web were for Image file conversions , Image resizing and image watermarking..etc
Copy link to clipboard
Copied
If you're working in FrameMaker and need to do large scale renamings of formats so that a template with the right formats can be imported, look into Rick Quatro's FindChange Batch plugin. You can set up a master file with the old format name matched to the new name and rename everything in multiple files at the same time. Once you get the format names updated, it's a matter of importing the correct formats and everything's done. The FindChange Batch plugin handles pretty much all formatting properties, including master pages, table designs, paragraph/character tags, variables, and so on. Saved my bacon more than once, so I can recommend it without reservation.
Copy link to clipboard
Copied
Thank you very much Lin! One minor correction: the script you want is FindChangeFormatsBatch.
Copy link to clipboard
Copied
I'm still wondering what the OP meant by "sweep"...
Copy link to clipboard
Copied
At this point, I'm assuming it's a typo for "swap". It would help if the OP came back and said something.
Copy link to clipboard
Copied
And in addition to defining "sweep", I'm trying to figure out how this question relates in any way to Photoshop. 🤔
~Barb
Copy link to clipboard
Copied
Vijay5C39 (referred to as OP - Original Poster - earlyer in this thread),
We are still struggling to understand your problem. All contributers until now have chimed in with assumptions (JJMack: PhotoShop and the like).
And it would be helpful for our mind to know a real name.
Klaus Daube
Copy link to clipboard
Copied
Hello Everybody! Thank you so much for helping me. I have provided in depth details below. I refered Import Format as Template Sweep
Task Description:
We want to Import Formats in Bulk. We have a list of Templates and a folder structure where there are lots of Book. As we know a Book consists of lots of FM Files. What we are looking forward is without opening the Book physically in Adobe Framemaker we want to loop through all the Framemaker files and import those templates into the FM files.
Current Issue:
Currently I am using “F_ApiSimpleImportFormats” function in the FDK library. We open a Book Manually and pass the Book ID and Import Formats.
Expected solution:
We are looking forward for a solution to generate the Book ID without opening the book and pass it to “F_ApiSimpleImportFormats” method to do the above functionality.
EX: If there are 3 Books in a file location and each Book has 3 FM files within them, then I need to Import Format without opening the Books physically in Adobe Framemaker.
Copy link to clipboard
Copied
It sounds very much like you'll be writing your own script(s) or be hiring someone like Rick Quatro (frameexpert in the thread above) to script it for you.
-Matt
Copy link to clipboard
Copied
I know nothing about Adobe Frame Maker but if a batch script has to open and look at the contents of 100 Book templates and then look at metadata for 100000 files from fils system data do not expect the script to be short running it may require hours or longet to run.
Copy link to clipboard
Copied
I can provide you with an ExtendScript solution. Please contact me offlist: rick at frameexpert dot com
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more