gingerbeardman / stapler

My take on the classic Macintosh app Stapler (with a little bit of LaunchList)
https://blog.gingerbeardman.com/2024/08/10/stapler-i-remade-a-32-year-old-classic-macintosh-app/
MIT License
231 stars 9 forks source link

Adding Individual Emails #36

Open gingerbeardman opened 2 months ago

gingerbeardman commented 2 months ago

Discussed in https://github.com/gingerbeardman/stapler/discussions/35

Originally posted by **FetchEOD** August 26, 2024 I would love to be able to add individual emails to my Stapler (v1.2.0) document by dragging and dropping, but this doesn't seem to be possible from either Mail or MailMate in MacOS Ventura 13.4. At the moment I am either printing to PDF or copy/pasting the text into a text file.

Related: #34

kristofer commented 2 months ago

yes, I have thought on this problem with Apple Mail for years. Even tried hard for a while in 2012 or so to get Apple to allow some kind of "just let me copy the damn email byte stream" but to no avail. Has always seemed like it should be a pasteboard type.

The only way I've ever used has been the print-to-PDF route. (but then, as you know, there is not way to re-constitute it as an email...)

spent some time in the debugger with Stapler trying to catch the drag event of whatever it is that you can drag from mail, but nothing interesting came of it.

Is there another way to "decode" drag event other than the two in Stapler right now?