idpaterson / alfred-wunderlist-workflow

Unbelievably fast task entry in Wunderlist with due dates, reminders, and recurrence
297 stars 8 forks source link

Syntax to "star" an issue added through the workflow #8

Closed idpaterson closed 9 years ago

idpaterson commented 11 years ago

There is no keyboard-accessible way to "star" a task in Wunderlist; it requires a mouse click on one of several star icons. For that reason, there is no way to implement this feature prior to version 0.3. This enhancement would make it possible to star an item upon inserting it into Wunderlist.

Command syntax

Probably the most straightforward syntax would be an * asterisk suffix on the task. That would be configurable at least by a global variable in the workflow in the event that it does not work well for someone.

Implementation

After the task is added to a list, we don't know if it will be at the top or the bottom, so the best star icon to use is the one in the task input field. The workflow will need to obtain the coordinates of the star icon and use cliclick to click it.

Note that in the Starred list, the star icon does not exist because new tasks are implicitly starred when added to this list.

Discussion

How do you use stars? I tend to star items that I want to complete within the current week. This approach is not as strict (or time consuming) as actually scheduling tasks, though I do use scheduled tasks as well for recurring events or strict deadlines. If you use stars in this way, would you be interested in a workflow feature to easily set the due date of specific issues to the end of the week?

idpaterson commented 9 years ago

This will be handled much better in Python with #49