making ecto behave a little better

I noticed that when ecto would post, it would insert it’s tagline at the end of the entry text, meaning that if the entry had some extended text, it was broken by the tagline. Silly, I thought. And easy to fix, as I found out.

Just edit ~/Library/Application Support/ecto/scripts/Posted\ with\ ecto.scpt as follows.

tell application “ecto”

set _draft to document 1
tell _draft

set _mode to edit mode
if _mode is false then

set edit mode to 1

end if

set _text to “<p style=\”font-size:10px;text-align:right;\”>[composed and posted with <a href=\”http://ecto.kung-foo.tv\”>ecto</a>]</p>”
set extended entry to extended entry & return & _text

if _mode is false then

set edit mode to 0

end if

end tell

end tell

You just want to change “entry body” to “extended entry.”

[composed and posted with ecto]

Leave a Reply

Your email address will not be published. Required fields are marked *