Steinway
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Steinway
-
-
Got the first version working
It creates a reminder in 📥 Indbakke (change to your preferred folder) with the name of the sender and the subject of the mail. In the body of the reminder it pastes a link to the e-mail.
From what I can find on Google, it is not possible to insert the link in the URL of the reminder...
tell application "Mail" set _msg to item 1 of (get selection) set _messageURL to "message://%3c" & _msg's message id & "%3e" set _msgSubject to subject of _msg set _from to sender of _msg set _name to extract name from _from set theInfo to (_name & " - " & _msgSubject) set theLink to _messageURL tell application "Reminders" set mylist to list "📥 Indbakke" tell mylist make new reminder at end with properties {name:theInfo, body:theLink} end tell end tell end tell
-
16 minutes ago, sepulchra said:
It looks like Reminders can be scripted extensively using applescript:
https://gist.github.com/n8henrie/c3a5bf270b8200e33591
It looks like the notes can be scripted as well.
Cool - thx. I'll give that a further look :-)
-
Michael Raphael created a workflow for creating a link from a selected Mac Mail (https://alfred.app/workflows/sepulchra/mail-link/).
Any pointers on how I create an Apple Reminder with the link to the mail?
Creating Reminder from selected mail
in Workflow Help & Questions
Posted
The notes-field is “body”, so yup; thats where the link goes.