Made a #Raycast script command to IM a specific person (like your partner), ported from #AlfredApp where I’ve used it all the time.

I’ve configured it with the alias “im”. “im Hello world” sends that message in the background. Just “im” focuses Messages.

Quirk: Sent links don’t get link previews. I think this is a Messages bug. Not sure how to work around it without UI-scripting the whole thing.

https://gist.github.com/henrik/8b002ae46ca96217c32b0824bdc8dda8

#AppleScript @raycast

Raycast script command to send a Messages.app IM to a fixed contact, or just switch to Messages if no argument is provided. Don't forget to customize `theEmail`.

Raycast script command to send a Messages.app IM to a fixed contact, or just switch to Messages if no argument is provided. Don't forget to customize `theEmail`. - send_im.sh

Gist