Site icon Colecandoo!

What is my (Omata) mate like after a month?

Advertisements

Regulars to Colecandoo may be aware that close to a month ago, I’d written a post about the Adobe InDesign plug-in called Omata Mate. If you haven’t read the article (here if you’re interested) Omata Mate is an extension panel that provides access to several LLM/AI models to write chunks of javascript code or GREP patterns, create images (similar to InDesign’s own text to image feature) or manipulate selected portions of text. My original take on the plug-in was quite favourable, and remains so one month on, but I thought I would prepare a follow-up piece with my experiences using the extension.

Welcome to “vibe” coding!

If you’re unfamiliar with this buzzword, it’s a way of creating software by using LLM/AI models to prepare the code, but the models are using the prompts to generate the code that creates the software via a “conversation” with the human creator. To simplify it further, think of the Ironman movies where Tony Stark talks to his computer “Jarvis” about what he wants and Jarvis seems to intuitively know what Tony wants and prepares it for him. In a perfect world, it would be like that.

We’re a long way from Ironman

At the time of writing, InDesign’s Omata Mate has access to 8 different LLM/AI for coding, but they each have their own different ways of doing things and their own ‘quirks’, such as:

There were moments when I felt like Tony Stark, as I was able to type in a prompt such as “write a script that will prepare a UI to make randomised bingo cards based on a text file of various words” and within moments my “Jarvis” would present with a UI that did very close to what I asked.

Those occasions were rare, and much like asking an actual human programmer to make software, required lots of dialog and iterations, plenty of scope creep, and bouts of frustration. Several scripts that I’ve worked on took dozens – if not hundreds of iterations to work as expected.

Unfortunately, there were plenty of moments that were nothing like Jarvis – I’d type what I felt would be an easy request, but the next script that came along would throw errors; could click through the OK button but nothing would happen, or the script would go backwards in iterations. In one instance I’d asked to include a checkbox on a script but any time the checkbox was clicked, the script would fail. The AI’s solution – grey out the checkbox so I couldn’t select it! Certainly some outside of the box thinking there.

How the blacksmith wields the hammer

Despite some frustration, I’ve been able to use Omata Mate to make some very powerful InDesign Javascript user interfaces. Much of this frustration I’ll put down to not knowing how to use the tools properly. With this in mind, it is worth sharing the following tips:

How the plugin differs to using a regular AI model

While Colecandoo has the Omata Mate subscription, it isn’t something I’m using in my day job as a prepress operator. That said, everyone does have access to the free version of ChatGPT without a login, and I’ve been using this in my day job to create scripts in the meantime. My preference is to use the Omata Mate plug-in for the following reasons:

Want to sample a script written with Omata Mate?

To demonstrate what sort of scripts can be written with this plug-in, I’ve used it to create a user interface that can be used to create a timeline of events – a graphic that shows a series of events in chronological order so that the reader can determine the exact order of events at a glance. It certainly wasn’t made with one query, but well over 100 queries and lots of testing!

So here is the UI before entering any of my information. It prompts the user for page and margin sizes; a suggested headline; a text file that contains the dates, events and picture links; some general options such as how to display the date and in what order; whether to include an image with each event; and time divisions in the background.

Here is the UI after I’ve entered my information. I’ve made it quite wide as it is a long timeline, but I don’t have any images to insert.

Here is the timeline generated by the script. Obviously it isn’t the best looking timeline around, but the formatting can easily be adjusted using the object and paragraph styles in the file.

There is a portion of the timeline where many events happened in quick succession, so rather than try to format these manually, I’ll generate another timeline but just of these particular dates so that they’re not so close together, and once it’s created I’ll format it so that it looks nice.

Here is the final timeline created with running the script twice – once with a full set of dates, and one with fewer dates – and then combined together into one file and touched up with some formatting adjustments.

If you would like a copy of this script, please get in touch via my contact page, specifically requesting the timeline script. I’ve updated it since taking the screen captures for this article and there is also an option to make the timeline go across a page or down a page.

Exit mobile version