Email to Yojimbo script with PDF support

YojimboDrummond 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:

Emailtoyojimbopdf

Drummond doesn’t have a web site to host the script on, so it finds a home on Hawk Wings for the moment.

Download it here

Don’t stop there though. Other useful Yojimbo scripts include:

  1. A script to push Yojimbo notes onto an iPod.
  2. A script to send a Yojimbo item with Mail.app.
  3. A script to email yourself notes that are automatically inserted into Yojimbo.
  4. Scripts for Yojimbo, NetNewsWire and de.licio.us integration.
  5. All the other scripts you can find by searching Hawk Wings for “Yojimbo” and “script”.

mail.app, apple mail, applescript, yojimbo, pdf, notes, ipod, netnewswire, delicious, tips, productivity

Similar Posts:

Tags: , , , , , , , , , ,

11 Responses to “Email to Yojimbo script with PDF support”

  1. arne says:

    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*

  2. Tim Gaden says:

    Usage is not compulsory :)

    But for people who like a single keyboard shortcut (say, a Quicksilver trigger), this is a good solution.

  3. arne says:

    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

  4. Drummond says:

    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 :).

  5. Philip Cozzolino says:

    Anyway to convert this script to work with Entourage?

    (No offense Mail lovers!)

  6. Drummond says:

    Philip,

    I am happy to take a look into it – might take me a couple of days tho

  7. Philip Cozzolino says:

    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.

  8. Drummond says:

    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)

  9. Chris K says:

    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.

  10. Sergio M. says:

    Is it possible to Pipe Email to Yojimbo but keeping the rich text format?

  11. Kurt Todoroff says:

    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

Leave a Reply