Skip to content
nippe edited this page Dec 12, 2012 · 8 revisions

Task Managers are objects responsible for the task creation aganst a given "backend". They have to implement the ITaskManager interface and the assembly and it's dependencies has to dropped into the same folder as ct.exe.

At execution time it scans the directory for assemblies containgin ITaskManager types and invokes them.

Systems

So far I've written a two TaskManagers

Microsoft Outlook

This is in my implementation the default TaskManager. It adds a task to Microsoft Outlook via the Interop assemblies. I only have Microsoft Office 2013 on my machine so that's the only one I've tested it with, might be som bruken referenses for earlier versions.

Trello

Trello is a kanban-style board web application by the guys at FogsCreek. Playing around with personal kanban i felt the need to create "tasks" there to. So the Trello TaskManager uses the Trello REST API. It also needs a config file in the same directory as ct.exe by the name TrelloConfig.xml containg the following elements:

<TrelloConfig>
<idList>listid</idList>
<key>key</key>
<token>token</token>
</TrelloConfig>

The only way I found to use a token with write permissions is to update it every 24 h, so the app will ask the user for a new one when it expires.

Rolling your own TaskManager

Do you want to create your own TaskManager? Read more on how under Roll Your Own TaskManager

Clone this wiki locally