TaskPaper: CreatedTodayTag

I like to keep my date formats consistent in TaskPaper so as to to ease future scripting and to maintain readability. So I wrote a short AppleScript that inserts a @created tag with the current date as the value. Drop the script into your TaskPaper Scripts folder and it’s good to go.

To customize the date format  change the formatters in the call to the unix date command in the get_date function.

on get_date()
	set currentdate to do shell script "date +%Y-%m-%d"

tell application "TaskPaper"
    tell front document
        tell selected entry
            make tag with properties {name:"created", value:my get_date()}
        end tell
    end tell
end tell

2 thoughts on “TaskPaper: CreatedTodayTag

    1. I don’t know how I missed your comment, Terry. Whew.

      Just yesterday, I posted up a ‘Started’ tag script for indicating when a task is started. There is more TaskPaper goodness in the pipeline. I’ve also updated the Technitai TaskPaper theme to support the new tag along with improved usability.

      There is also a metrics script in the works for measuring and slicing project stats and performance.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s