Skip to content

Instantly share code, notes, and snippets.

@cmod
Created July 25, 2018 08:23
Show Gist options
  • Save cmod/08eb05215c118eca84fe4c757ab0cb47 to your computer and use it in GitHub Desktop.
Save cmod/08eb05215c118eca84fe4c757ab0cb47 to your computer and use it in GitHub Desktop.
Touch Bar addition: Latest todo in Things
This file has been truncated, but you can view the full file.
{
"BTTWidgetName" : "Things To Do Today",
"BTTTriggerType" : 639,
"BTTTriggerTypeDescription" : "Apple Script Widget",
"BTTTriggerClass" : "BTTTriggerTypeTouchBar",
"BTTPredefinedActionType" : 195,
"BTTPredefinedActionName" : "Run Apple Script (async in background)",
"BTTInlineAppleScript" : "tell application \"Things3\"\r\tset firstItem to item 1 of every to do of list \"Today\"\r\tset firstName to name of firstItem\r\tdisplay notification \"COMPLETED: \" & firstName\r\tset status of firstItem to completed\rend tell",
"BTTScriptType" : "AppleScript",
"BTTEnabled2" : 1,
"BTTUUID" : "E6F0834D-AE7A-490F-9D5B-B5C58DE37E23",
"BTTEnabled" : 1,
"BTTOrder" : 10,
@cmod
Copy link
Author

cmod commented Jul 25, 2018

This gist adds a widget to BetterTouchBar showing the latest todo in Today.

To "install" simply copy the raw json from this gist > create a new widget in BetterTouchTool > right click on the new widget > paste json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment