Clicking cancel from the toggl projects list window, still starts the task timer
Hi Sam,
when I select a task and click start, a window showing my toggl project list appears, when I click cancel instead of ok, even then the call is fired to start the timer. It would be great if you could fix this.
Also, I understand at the moment, the task has to be started and stopped from within the OmniFocus window. If I click stop, from the browser extension or the desktop app, the OmniFocus task is not aware of this. So I have to manually tick it off. I am not aware if this functionality of listening to the running toggl task with OmniFocus id, is easy or tricky to do, but just a suggestion.
Many thanks for this very useful script.
Kalai
Good catch. I have added in better error handling to actually cancel the script if you click cancel. I've also added the ability to create new Toggl projects.
As to your other question, unfortunately, I don't think I know of a way from within a script to "listen" to Toggl and check off the tasks. That would be convenient.