Created
July 26, 2013 21:06
-
-
Save nelsonpecora/6092238 to your computer and use it in GitHub Desktop.
Peudo-code for potential applescript code that will list todo's from Things' "Today" list sectioned off into Areas / Projects, like they are in the UI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # potential (pseudo)code | |
| tell application "Things" | |
| repeat with theList in "Today" | |
| --- add name to json | |
| --- add project to json | |
| --- add area to json | |
| end repeat | |
| end tell | |
| # end result should look something like: | |
| [ | |
| { | |
| name: "Task 1", | |
| project: "Project 1", | |
| area: "Area 1" | |
| }, | |
| { | |
| name: "Task 2", | |
| project: "Project 1" | |
| }, | |
| { | |
| name: "Task 3", | |
| area: "Area 2" | |
| }, | |
| { | |
| name: "Task 4" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment