Skip to content

Integration with applications

Tasks of Outlook

On Windows, the list shows the open items of the To-Do list of the classic Outlook next to the tasks of the file: the flagged mails and the tasks of all accounts. They are read through AnchorHub, which has to be installed in %LOCALAPPDATA%\Programs\AnchorHub, and read again every two minutes while Outlook is running (decision 0039). The file stays as it is until an item is changed. An AnchorHub that lacks a command which koppter needs is reported as too old where the action failed, such as in the plan dialog; its latest release replaces the file ankd.exe there.

  • An item shows its subject, the hashtag #outlook, its due date and the label Outlook; a click on the label opens the item in Outlook. The hashtag stays in the line that is written for the item, so that a filter for #outlook shows the items and the tasks that came from them.
  • An item has no context, so it stands in the inbox as well.
  • Giving an item a context or a project, in the inbox, on the board or in the edit dialog, writes it to the file as a task with the tag ol:, which names the item; so does any other change, such as a due date. From then on, the line stands for the item.
  • Completing an item, or a task whose tag ol: names one, marks the flag or the task done in Outlook.
  • An item without a line has no place in the order of the file: it cannot be moved up or down within its group or deleted.

A link in another program, such as a page of OneNote, opens the application with the tasks of a project, a context or a hashtag (decision 0033):

koppter://filter?project=papers>survey
koppter://filter?context=phone
koppter://filter?hashtag=someday
koppter://filter?project=Fair&context=phone
  • A right click on the label of a project, a context or a hashtag at a task offers Copy link. The copied link has signs such as > encoded, as koppter://filter?project=papers%3Esurvey, so that the other program takes the whole link.
  • The link replaces the filter and shows the list.
  • A link can name the rest of the filter as well: not-hashtag=import leaves tasks out, priority=A selects a priority, text=mom searches, show=all or show=done includes completed tasks, and future=1 those before their start date. A project or a context includes those below it.
  • If the application is open, its window shows the tasks and comes to the front; no second window opens.
  • On Windows and Linux, the installed application registers the links for the current user when it starts, so it has to be started once before the first link works. On Linux, this is the hidden desktop entry koppter-links.desktop in ~/.local/share/applications, made the handler of the scheme with xdg-mime.
  • On macOS, the package declares the links, so they work once the application is installed.
  • On Android, the installed application opens the links.

On Windows with OneNote and AnchorHub, a page of OneNote that a task refers to with the tag onenote: shows at its top a link to the task (decision 0057):

koppter://task?onenote=666AC41B-1C96-448D-AF38-3DEF10279206&text=Call%20the%20dentist
  • koppter sends the links at its start and after each synchronization; a changed description changes its link, a completed task, also one archived in done.txt, has its link struck through, and a deleted task loses its link.
  • The link names the page by its page-id and the task by its description. It opens the edit dialog of the task; when the task was edited since and the page has several tasks, the list shows them.
  • The todo.txt file gets no tag for it.
  • An AnchorHub without the command is noted in the log, and the pages get no links.

Filter shared with ContextSwitcher

On the desktop, koppter and ContextSwitcher can share the projects and contexts of their filters. Send the projects and contexts of the filter to ContextSwitcher in the settings turns it on; ContextSwitcher needs koppterSync: true in its settings.yaml.

  • Selecting a project or a context in the filter panel shows the categories of ContextSwitcher that name it.
  • Switching to a task of a category with project: in ContextSwitcher, or a change of its context (the environment profile that the screens or the override chose), sets the projects and contexts of the filter of koppter; the other criteria, the view and the window stay as they are.
  • A change that came from the other application is not sent back.
  • Without a running koppter, the next start shows what ContextSwitcher sent last.