ImportEntriesFromText

This script shows how to import plain text into TaskPaper.

set import_text to "- task 1
- task 2
- task 3"

tell application "TaskPaper"
    tell front document
        import with text import_text to end of entries
    end tell
end tell