• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Script to periodically replace fontfiles in the font folder


New Member
May 31, 2019
1 (0.06/day)

A friend of mine asked me for some help regarding a university project of hers in design. She wanted to create a font that is based of letters carved on trees, and thought it would be a fun idea to have that font periodically change over time, to mimic the process of a tree growing and widening the letters in the process.
So she wanted to know if it was possible to have a script that periodically, lets say every 2 weeks, looks for the fontfile that she's using, and replaces it with a "newer" one, with the same filename, so that if you would open a PDF containing the font the font inside would have changed?

She has already made several different fonts, that would periodically take one anothers place, and I'm just wondering how the script to replace them would go, unfortunately I'm severely lacking the expertise in this, and would greatly appreciate some pointers!

What kind of script am I looking to create, and how greatly does it differ on Windows and iOS?
Thanks a lot!