Email to Yojimbo script with PDF support
Drummond Field has written an applescript that exports an email from Mail.app into Yojimbo.
Unlike other “Email to Yojimbo” scripts, this one offers the option of exporting the email into Yojimbo as either a note or a PDF.
Select the message, run the script and a dialog appears:

Drummond doesn’t have a web site to host the script on, so it finds a home on Hawk Wings for the moment.
Don’t stop there though. Other useful Yojimbo scripts include:
- A script to push Yojimbo notes onto an iPod.
- A script to send a Yojimbo item with Mail.app.
- A script to email yourself notes that are automatically inserted into Yojimbo.
- Scripts for Yojimbo, NetNewsWire and de.licio.us integration.
- All the other scripts you can find by searching Hawk Wings for “Yojimbo” and “script”.
Similar Posts:
- Put Yojimbo on an iPod
- Scripts for Yojimbo, del.icio.us and NetNewsWire integration
- Automatic notes in Yojimbo via a Mail.app rule
- Script to send a Yojimbo item with Mail.app
- Hawk Wings Addon and Plugin List Update: 10 new entries
Tags: "delic.io.us", Apple Mail, Apple Mail Tips, applescript, iPod, mail.app, NetNewsWire, Notes, pdf, Productivity, yojimbo


February 6th, 2007 at 5:55 am
OK, maybe I am missing something, but why should I download and use an Apple Script for something that I can do already?
Print PDF to Yojimbo? Klick the Print Button -> PDF to Yojimbo.
Note to Yojimbo? Highlight all and drag & drop it to the drawer. Or, copy & hit hot key.
*scratches his head*
February 6th, 2007 at 11:43 am
Usage is not compulsory :)
But for people who like a single keyboard shortcut (say, a Quicksilver trigger), this is a good solution.
February 6th, 2007 at 5:16 pm
Yupp, that makes sense!
I never got the hold of Quicksilver et al., since I have to use a Window$ box in the office and a Mac at home. Windows trained me so much that whenever I do something I reach for the mouse and realise only then that I also have Quicksilver installed. :-(
Cheers, Tim, and keep the good work running! I am very much enjoying what you are doing here!
arne
February 10th, 2007 at 12:51 am
It also acts as a “1 stop” entry point (or at least I like to think it does). With the “click the print button” or drag and drop method, I then have to switch over to Yojimbo, possibly rename the note (I often send myself useful URLS and forget the subject) and add the tags – now I can run the script from a keyboard shortcut, rename if there is no subject and add the tag – all without leaving mail.
I personally find switching from mouse to keyboard all the time very painful and felt that something like this alleviated my pain :).
February 18th, 2007 at 12:39 am
Anyway to convert this script to work with Entourage?
(No offense Mail lovers!)
February 19th, 2007 at 2:36 am
Philip,
I am happy to take a look into it – might take me a couple of days tho
February 19th, 2007 at 3:47 am
Thanks!
For the record, I am in the process of trying to decide between Entourage and Mail. Mail with MailTags and MailActOn is quite nice, but I always get these HUGE delays when trying to add attachments. Gets to be quite annoying.
February 19th, 2007 at 5:27 am
I used to use Entourage – felt it did everything just a bit better, but eventually I decided that until the intel version of Entourage came out, I would try mail. Now I really like it and have got really used to it (using IMAP-IDLE, amongst other plugins). Not had the attachment delay (unless I drag and drop large pics)
June 7th, 2007 at 4:27 am
I downloaded this script and installed it in the “Scripts>Mail” folder. However, when I attempt to run it I get this error message:
Error number: -1713
Message: No user interaction allowed.
and I am also redirected to Apple’s website to a page about ordering printer supplies???
Do you know what’s happening here? I’m a complete novice with AppleScript.
August 8th, 2007 at 7:33 am
Is it possible to Pipe Email to Yojimbo but keeping the rich text format?
May 14th, 2010 at 2:28 am
This wonderfull script appears to do a lot of what I am searching for. Can you modify it to perform the following:
1: Prompts and allows the user to select one or more Apple Mail email messages from within Mail (10.4, 10.5, 10.6).
2: Prompts and allows the user to select a save-to folder.
3: For each message, saves it as a PDF file in the save-to folder, using the following naming convention for the PDF file:
“YYYY-MM-DD HH.MM.SS Email From FIRSTNAME LASTNAME – SUBJECT”,
“YYYY-MM-DD HH.MM.SS Email To FIRSTNAME LASTNAME – SUBJECT”,
where in the email date-sent stamp (if I am the sender) or date-received stamp (if I am the recipient):
YYYY = the year
MM = the two-digit month
DD = the two-digit day
HH = the two-digit hour (in 24-hour time)
MM = the two-digit minute
SS = the two-digit second
FIRSTNAME is the email sender’s first name for email that I receive (or is the email recipient’s first name for email that I send)
LASTNAME is the email sender’s last name for email that I receive (or is the email recipient’s first name for email that I send)
SUBJECT = the email’s subject line
For example: 2010-04-10 16.32.48 Email From Kris Ryan – Status Of Payroll Updates.pdf
For example: 2010-04-10 16.33.55 Email To Sue Anderson – RE Status Of Payroll Updates.pdf (Colon omitted after “RE”.)
4: For each attachment to the message, saves it as a PDF file in the same directory using the naming convention:
“YYYY-MM-DD HH.MM.SS Email From FIRSTNAME LASTNAME Z Attachment – NUMBER – FILENAME”,
where:
YYYY-MM-DD HH.MM.SS Email From FIRSTNAME LASTNAME = as above
NUMBER = an integer representing the attachment number (1, 2, …) sorted according to filename alphabetical order
FILENAME = the name of the file attached to the email, including its extension (.docx, .xlsx, etc.)
The letter “Z” sorts the attachment PDFs after its respective parent email in the directory.
For example: 2010-04-10 16.32.48 Email From Kris Ryan Z Attachment – 1 – List Of Suggestions To Moore.doc.pdf
For example: 2010-04-10 16.32.48 Email From Kris Ryan Z Attachment – 2 – Proposed Salary Adjustments.xls.pdf
For example: 2010-04-10 16.32.48 Email From Kris Ryan Z Attachment – 3 – Salary History.pps.pdf
Note: Approximately two-thirds of all of the emails will have no attachments. The remainder will have one or more attachments consisting of a PDF or MS Office file (Word, Excel, Power Point); however, a smart implementation will be able to handle any attachment kind. If the attachment is a PDF file, then save it “as is” using the stipulated naming convention, without passing it through Distiller.
Thank you for any and all assistance.
Kurt Todoroff