Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to sweep templates in a batch

New Here ,
Dec 06, 2021 Dec 06, 2021

I want to sweep templates for almost 100 Books and each book contains 1000's of FM files. 

702
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2021 Dec 06, 2021

What does 'sweep' mean in detail?

  • Apply a modified template to the 100'000 FM files?

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...

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2021 Dec 06, 2021

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.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

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

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

Thank you very much Lin! One minor correction: the script you want is FindChangeFormatsBatch.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

I'm still wondering what the OP meant by "sweep"...

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

At this point, I'm assuming it's a typo for "swap". It would help if the OP came back and said something.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021

And in addition to defining "sweep", I'm trying to figure out how this question relates in any way to Photoshop. 🤔

 

~Barb

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2021 Dec 07, 2021


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).

  • What is the task which you need to apply to the book files (change layout, appearance of tables etc.)
  • Are the books created with FrameMaker? Your post suggests this.
  • Are they loaded with images (photos) which you need to process in PhotoShop (change brightness or else)?
  • Any further details?

And it would be helpful for our mind to know a real name.

Klaus Daube

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2021 Dec 08, 2021

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

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

 

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

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.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 09, 2021 Dec 09, 2021
LATEST

I can provide you with an ExtendScript solution. Please contact me offlist: rick at frameexpert dot com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines