A quick way to add a task into Google Tasks.
A bookmarklet is a bookmark that you typically have in your browser's links toolbar, that when clicked, will take some action relating to the web page you are currently viewing.
Once the Google Tasks Bookmarklet is added to your browser, clicking it will add a new task to your Google Tasks list, and the initial task title and task notes fields will be populated with the title and URL of the page you are viewing. You will also be given an opportunitiy to set a date for the task via a calendar picker, and the title and notes can be edited before adding the task.
November 13th 2017: A bug in Google apps script was preventing the script from working properly. Creating a brand new App that is separate from the old app, and redeploying, seems to have solved the problem for me. More details on the bug are here: https://code.google.com/p/google-apps-script-issues/issues/detail?id=6133
If you would prefer not to use Google apps script, and instead host your own version of this Google Tasks Bookmarklet, I created a version of the google-tasks-bookmarklet which is self hosted, using PHP. This PHP-based version is available here: https://github.com/geoff604/google-tasks-bookmarklet-php
If you would like to try the Google Apps Script version, feel free to read on...
If you don't want to modify this script, and just want to use it, or try it, please follow the instructions at: https://geoffmobile.com/blog/contact/google-tasks-bookmarklet
The above link will allow you to install a bookmarklet which will make use of my publicly deployed instance of the script. It will run under the permissions of your own Google account.
Click the bookmarklet from any page to create a Google Task with the URL and page title (from your current page) prepopulated into the task's title and notes fields.
For a video demo of this bookmarklet in action, please visit the following Youtube video: https://www.youtube.com/watch?v=hUhI6mus8iA
If you would like to modify this script and deploy your own version of it, here is what you need to know:
The script is based on code that is part of another Github repo, called google-apps-script-samples. However that repo is not required for the Bookmarklet to work.
The instructions on how to deploy the Bookmarklet's back end are the same as the app called simple_tasks, of which the instructions can be found at: https://github.com/gsuitedevs/apps-script-samples/tree/master/tasks/simpleTasks
Once you have deployed the back end, to use the bookmarklet, create a bookmark in your browser bookmark's toolbar that contains the bookmark in bookmarklet.txt, replacing the URL in the bookmarklet with the URL to your own deployed instance.
This has been tested in Google Chrome, Firefox, and IE.
For more information, please see my blog at: https://geoffmobile.com/blog/contact/google-tasks-bookmarklet
Geoff Peters https://twitter.com/gpeters Vancouver, BC, Canada