If I want to send something I’ve written from DT to MarsEdit, the script is simple:
tell application "DEVONthink Pro"
set theWindow to think window 1
set postTitle to name of content record of theWindow
set postBody to selected text of theWindow
end tell
tell application "MarsEdit"
activate
make new document
tell document 1
set title to postTitle
set body to postBody
end tell
end tell
Can anyone tell me the equivalent script for sending to ecto? It’s got to be quite similar, but I haven’t been able to figure it out.