Skip to main content
Participating Frequently
March 13, 2012
Question

Snippet idms thumbnails

  • March 13, 2012
  • 1 reply
  • 7261 views

Hello everyone,

I'm a really new user in InDesign scripting, and I'm looking for a solution to generate an image (.jpg file for instance) from a snippet (.idms or .idml file), in command line, in order to launch this command from a website page. I already look in InDesign docs but I didn't know where to start : InDesign script, Server, maybe a solution with Bridge...

After that (maybe not right now), I wanted to be able to add parameters to this utility : a title, an image path..

Thanks all for your help, or if you know an equivalent solution.

This topic has been closed for replies.

1 reply

Harbs.
Legend
March 13, 2012

By default, InDesign saves a preview of the snippet in an idms file. You can extract that and save as an image file.

You should look for the content inside the <xmpGImg:image> tag.

Harbs

marius_9Author
Participating Frequently
March 13, 2012

Thanks Harbs for the answer. It's a really good start.

Now I would like to dynamically interact with this idms : change text, add an image,.. and so update this idms file to get new preview.

Maybe some InDesign scripts can do that

John Hawkinson
Inspiring
March 16, 2012

Now I would like to dynamically interact with this idms : change text, add an image,.. and so update this idms file to get new preview.

Maybe some InDesign scripts can do that

Well, you have two choices.

You can sit down with the IDML specification and determine how to manipulate the XML file directly.

Or you can do it as you would do it in InDesign: Open a new document, place the IDMS file, edit the document, and export to IDMS.