macrospect Posted June 17, 2023 Share Posted June 17, 2023 I send notes to myself all the time by email, with just a brief phrase in the subject line (e.g., "check Carter book"), but I'd like to do this faster--it takes awhile to bring up my email client and fill the form. I have a decent shortcut on my phone, but it sometimes doesn't fire; I'd like to have something more reliable that I can use on desktop. I've seen workflows for calling up a blank email to yourself, but that doesn't go as far as I'd like to. Ideally, I'd like to type "email" into the Alfred field, and then type my subject right after that, and then click "enter" to send. There was a thread about this awhile ago, but it involved a pretty complicated script that I was never able to get to work--and it looks like others struggled, too. Does anyone have a workflow that might work for someone without a lot of coding experience? Link to comment
Stephen_C Posted June 17, 2023 Share Posted June 17, 2023 What email client are you using (because the ability to do what you want may depend on the extent to which that client can be scripted)? Stephen Link to comment
TomBenz Posted June 17, 2023 Share Posted June 17, 2023 Try with AppleScript for MS outlook below on run argv set subjecttxt to "Test message" -- item 1 of argv tell application "Microsoft Outlook" set theMessage to make new outgoing message with properties {subject:subjecttxt, plain text content:""} make new recipient with properties {email address:{address:"youremail@domain.com", name:"FName and LName"}} at end of to recipients of theMessage open theMessage -- for further editing -- send theMessage -- not sure of this if this can be bad to work end tell end run Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now