Creating InDesign Scripts With Python

We publish a lot of content related to InDesign scripts here at InDesignSecrets and in InDesign Magazine. And until now, nearly all the scripts we’ve written about were produced with either AppleScript or JavaScript. But recently it was brought to our attention by a developer named Lohrii Alo, that Windows users can also use Python to script InDesign. Lohrii has posted some sample scripts and an introductory article about using Python to script InDesign at Github. One of his examples shows how to use InDesign Server to create a web application that makes business cards.

Another example of using Python to manipulate InDesign is SimpleIDML, a Python library used by the French newspaper Le Figaro as part of an automated system to produce complex documents from components made of IDML (InDesign Markup Language) XML files. It’s certainly not for beginners, but it is an interesting example of how Python is being used in the real world to make InDesign files.

We’ll keep an eye out for more developments in the world of Python scripting related to InDesign!

 

Bookmark
Please login to bookmark Close

This article was last modified on July 20, 2021

Comments (11)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...