Yeah, I’ve been nursing one of these projects for a while…
Initially it started out as an autohotkey script, because I’m not a programmer, I’m a filthy windows engineer.
Then I tried rewriting it in Powershell because I wanted to own the code (v1 was written on work time, so they provably own it), and have it in something slightly less arcane (!). That was not a great choice of languages, but I’m still not ready to learn a real one, yet.
There’s surely some head banging roflcopter in there - I’m still not sure I’ve tested all the scenarios, but I just don’t have the emotional energy to wade through it (and my client can’t even use the new version, I’m not sure any others would care).