Hacker News new | ask | show | jobs
by ChristopherDrum 1244 days ago
Back in my Applescript days I wrote a number of small apps to remove various repetitive burdens (most have been lost to the ages), then carried on to Objective-C and shell scripting.

• "BatchPrint" : Standalone Applescript app with GUI front-end; allowed a designer to perform a query-based batch print of InDesign files. For example, "print all color ads running in tomorrow's New York Post to the 4th floor large-format inkjet"

• "GridMaker" : Applescript for InDesign; had a little bit of business logic in it to take an image frame in InDesign and split into a grid, following certain layout restrictions (specific gutter width, tag the boxes with metadata for FileMakerPro integration reasons, etc)

• "Filewrangler" : a publicly released Objective-C app for the Mac from before the launch of the Mac App Store (though it was on the store day one); batch file renaming using a custom visual filename "builder". Horizontal blocks in a chain combined to form a template for the new file name pattern, where each block represents one discrete chunk of text. Some 15 years later I still get email about it, asking if it will ever be updated for modern systems (no, it won't).

• The real workhorse tool, still in daily production use by my employer, is a shell script that turns Xcode Server into a lightweight CI system. It monitors for Github activity and creates and destroys XCServer bots as needed. With multiple servers, each can be assigned an "ID" which effectively allows them to load-balance. Only one bug report in 6 years. Alas, Xcode Server has been deprecated so we're migrating to CircleCI, which makes sense given the growth of the company.

• "Nuke the Metadata" : simple little shell script to run on files before posting them to public forums

• Various little shell and CMD scripts for Mac and Windows to do git checkout/prune trees/update submodules/etc all in one shot; return a project folder to pristine after running builds (for example)

1 comments

> Nuke the Metadata

I have the same type of script, but very specific to file types and not just a general "remove all metadata from the input file". I assume yours works the same way? How many file types can you use this on and how?

No, mine's quite brain-dead. I'm sure yours does a better job on specific file types, and I'm sure there's stuff I'm not getting, now that I think about it. But I've downloaded the images (for example) that I uploaded post-nuke and didn't see any obvious references to me or my organization. A more robust nuker might make for a nice project in my coming off-time (post layoff).