Giter VIP home page Giter VIP logo

omni-focus-start-toggl-timer's Introduction

of-start-toggl-timer

Start a toggl timer from within OmniFocus.

setup/installation

To add this automation to OmniFocus download this repository as a zip file or clone it. Then right click on the file start-timer.omnifocusjs and open in OmniFocus.

First, you will need to add your Toggl API key at the beginning of the file. To open the file, go to the Automation menu in OmniFocus, click Configure, select this automation, click Reveal in Finder, and open the file in any text editor. You should be able to find your API key at https://track.toggl.com/profile. Paste in into the api_key variable to allow the automation to start timers in your Toggl workspace.

features/how to use

To run the automation, select a task then go to the Automation menu and press Start Toggl Timer. (Or you can set a keyboard shortcut for it) If the project exists already in your Toggl workspace, then that will be the project used for your timer. The title of the OmniFocus task will be used the Toggl timer's description. Finally, any tags on the task that start with the text "Toggl" will be added to the Toggl timer without the "Toggl" text. Like the project, if any of those tags do not exist in your Toggl workspace, they will be automatically created.

Screen.Recording.2021-05-07.at.21.37.55.mov

colon in project name

If it doesn't already exist, it will be automatically created. If you have a project in OmniFocus that is part of a larger project and if you want your Toggl timer to use that, you can put the name of your Toggl project before the OmniFocus project name with a ":". For example, running the Start Toggl Timer automation on a task within an OmniFocus project called "Coding: OmniFocus Toggl Automation" will start a Toggl timer with the project "Coding." Then, any text after the ":" (in this case "OmniFocus Toggl Automation") will be put at the start of the Toggl timer's description, again followed by a colon.

Screen.Recording.2021-05-07.at.21.43.59.mov

running automation on project

You can now run the Start Toggl Timer automation on an OmniFocus project instead of a task. It will work the same as running the automation on a task, but your Toggl timer, won't have a description.

omni-focus-start-toggl-timer's People

Contributors

lizard-heart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

omni-focus-start-toggl-timer's Issues

Tags could not be recognized

A few days ago, I found out that tags containing emoji cannot be recognized, and tags can be recognized when they are words. However, later on, I found that almost all tags cannot be recognized, whether it is a parent task or a child task, whether it contains one or multiple tags.

image

Recurring console error when re-adding a deleted project via the script

Hi there,

Thank you very much for the useful script!

I've noticed a recurring Console error and would really appreciate it if you could try to troubleshoot it.

Steps to reproduce:

  • Add task with a project by invoking the script in OmniFocus
  • Open Toggl projects section and delete the resulting Toggl project
  • Run the script in OmniFocus on any task with the project that was just deleted

Expected behavior: A timer is started as per usual and the project is once again re-added to Toggl.
Actual behavior: There is a Console error and no new timer is started.

Cheers,
Adrian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.