Hi @vitor,
Thanks a lot!
So, I've been trying the External Triggers, which seem like they can do what I'd like, but I'm stuck.
So, I have two different processes.
1. Generate link
First, I want to get the ID of the Outlook message. I've done that with the above.
I've created a workflow for this and assigned a hotkey. I still need it to generate a link, though.
2. Open link
I'd like something like file:///myscript.scpt?id=12345, so I can open the Outlook message from the link. I haven't figured that out yet. I've created a External Trigger that runs a script to open the file. The AppleScript file contains the following:
tell application "Alfred 3" to run trigger "outlookmessage" in workflow "com.alfredapp.outlookmessage" with argument "12345"
So, here the Outlook ID is hardcoded. How can I link to this AppleScript file and include the Outlook ID as an argument?