This AppleScript converts the HTML content of a selected Evernote item and uses textutil to render it as plain text. The plain text is then stored in the variable “plain_Text”.

(*
Veritrope.com
Evernote - Get Plain Text of Selected Note
Version 1.0
October 6, 2011

Project Status, Latest Updates, and Comments Collected at:
http://veritrope.com/code/evernote-get-plain-text-of-selected-note

// CHANGELOG:

1.0 Initial Version


// NOTES:

This AppleScript converts the HTML content of a selected Evernote item ¬
and uses textutil to render it as plain text.

The plain text is stored in the variable "plain_Text".

*)



(*
======================================
// MAIN PROGRAM
======================================
*)


tell application "Evernote"
    set the_Selection to selection
    set the_HTML to HTML content of (item 1 of the_Selection)
    set plain_Text to do shell script "echo " & quoted form of the_HTML & space & "| textutil  -convert txt  -stdin -stdout"
end tell

Some programs that utilize tagging require an AppleScript to transform a text list of tags into a list value. This subroutine will allow you to route the text returned from a dialog box into a list like this — and this code also allows you to choose the “delimiters” between tag items (for example — […]

--TAG SELECTION SUBROUTINE
on Tag_List(userInput, theDelims)
    set oldDelims to AppleScript's text item delimiters
    set theList to {userInput}
    repeat with aDelim in theDelims
        set AppleScript's text item delimiters to aDelim
        set newList to {}
        repeat with anItem in theList
            set newList to newList & text items of anItem
        end repeat
        set theList to newList
    end repeat
    return theList
    set AppleScript's text item delimiters to oldDelims
end Tag_List