33

Doesn't have to be impressive. A cron job, a one-liner someone forgot to replace, a spreadsheet macro. Curious how long these things actually survive.

you are viewing a single comment's thread
view the rest of the comments
[-] Monument@piefed.world 4 points 2 days ago* (last edited 2 days ago)

I wrote a series of scripts in InDesign in 2012 that I still use.

I do VERY niche design work at a relatively low volume. I used to do it as a day job, and now I just do it freelance.

One script pulls text from various text boxes that are located off canvas and runs a find/replace to set the masthead information, propagate the document identifier, and toggle layer visibility depending on what type of job it is.
Another is run after text is imported and it cleans it up. Runs a series of find and replaces to trim leading/trailing spaces as well as consolidate multiple carraige returns and spaces into singles.
The final one outputs different versions of the file. A print - ready version, a version with watermarks. All with today’s date in the file name. This script also copies the document title, publication date, author names, and byline into the document properties of the PDF. And it sets the PDF’s copyright information so it’s shown as copy written.

this post was submitted on 19 Nov 2026
33 points (97.1% liked)

Programming

29342 readers
419 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS