Automatic notes in Yojimbo via a Mail.app rule

YojimboKonrad Lawson has written an applescript which will cleverly pick out the text of an email you have sent to yourself and use it to create a note in Yojimbo.

You attach it to a rule that matches text in the subject line (like, say, “Note:”). Then anywhere that you have access to email — the coffee shop, the library, roaming the street or wherever, you can email yourself something worth remembering. Get back to your Mac and you will find it waiting for you in Yojimbo.

It’s a useful addition to a growing number of applescripts for Yojimbo that help the app to work even smarter: Jim Correia’s script that exports a selected email into Yojimbo and Dylan Damian’s del.icio.us-NetNewsWire-Yojimbo “mash-up” scripts.

Tags: , , , , , ,

Related posts

One Response to “Automatic notes in Yojimbo via a Mail.app rule”

  1. ratz says:

    Now that we have tags you can modify the mailToYojimbo to add tags supplied from a mail act-on rule.

    Find the tell application as follows

    tell application “Yojimbo”
    set db_id to make new note item with properties {contents:_contents, name:_name}
    add tags “inbox” to db_id

    Then to create a mail act-on rule that runs the script as:

    ~/Library/Scriptis/MailToYojimboinbox

    And your mail message will be added to yojimbo with the tag of inbox so you can find it later and add extra attributes; and then clear the inbox tag.

    -or- if you prefer you can create a script the send to yojimbo and then activates yojimbo so you can finish the processing example:

    tell application “Yojimbo”
    set db_id to make new note item with properties {contents:_contents, name:_name}
    add tags “inbox” to db_id

    activate
    – hack to “show db_id” by opening it as a URL
    open location “x-yojimbo-item://” & (id of db_id)

Leave a Reply