on 2014-05-02 9:51 list boy wrote
Anyone know of a script/service that would put an email message in Safari’s
Reading List?
i did a search on the essential terms and found this:
<https://coderwall.com/p/ayq0ua>
with which adding a URL to your reading list is a snap (could also use as plain
AppleScript)
if you want to add the whole message to your reading list you face two major
obstacles; first, you'd need write a file with the content of the message;
AppleScript will get you the plain text, but if you want the HTML version of
the email, you have to parse the message source before writing the file; also,
it appears Safari won't add a file: URL to reading list, so you'd need to have
a webserver to host it
given that, here is a quick and dirty method:
* start web sharing
* in the shell:
sudo mkdir /Library/WebServer/Documents/readinglist
sudo chgrp staff /Library/WebServer/Documents/readinglist/
sudo chmod ug+w /Library/WebServer/Documents/readinglist/
* then use the following script with a message selected in Mail:
<https://www.dropbox.com/s/1810hjne7me2ov7/email%20to%20reading%20list.scpt>
i'm sure there are cases i haven't covered, but it works for me in os x 10.7.5;
another approach would be to print a PDF to the same webserver
_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-talk