Python

Sending a Fax with Python; Using DLLs/COM objects

As engineers, we know that we should avoid reinventing the wheel. When we can, we want to use libraries written by other people to do some heavy-lifting for us. In this post, I’m going to share with you some things I learned on how to leverage existing libraries from DLLs (or any other files with COM type information like TLB or OCX files). Specifically, I’ll share some things I learned on my journey to figure out how to use Python to send a fax.

AutoHotkey, Python style

AutoHotkey (AHK) is a popular automation scripting language. Years ago, this was part of my automation toolbelt. Whether it was for making video game bots or business productivity. Fast-forward to this month. I came across a usecase where AHK would fit nicely. As I began writing some scripts, I lamented over the syntax and peculiar nature of matching modes, directives. I just wished I could have been writing the solution in Python.