Applescript to automate creating a new Omnifocus item from an email in Apple mail

I’m just starting to explore automation with Applescript and am still figuring out the capabilities and limitations. My first goal is to write something that automates the action of invoking Hook on a given email in Apple Mail and creating a linked OmniFocus item for it. The idea is that I could use something like Bettertouchtool or Keyboard Maestro to map that script to a touchbar button or keypress and help me quickly triage an overflowing inbox.

Can something like this be reliably done with Applescript and Hook? Again, just getting started learning about all of this and would appreciate any tips or resources!

1 Like