Can this be done with Keyboard Maestro?

There is an advantage for a KM user who isn’t really using Hazel - which would be me:

You can get rid of Hazel and use the automation capabilities you’re already familiar with. It’s just the trigger that’s novel.