Skip to content

Commit

Permalink
Testing thingstodo URI scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Jan 8, 2018
1 parent 7258021 commit 928d357
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ Trashed : 109|2017-08-02
Days/Task : 41.0
```

## Things URL Helper

The application ```ThingsURLHelper.app``` opens URLs of the form ```thingstodo:show?uuid=XXX``` with XXX being the ```UUID``` of a todo.
By using ```things.sh search``` you can identify the ```UUID``` of a task.

## CREDITS
* Author : Arjan van der Gaag (script for Things 2)
* Author : Alexander Willner (updates for Things 3, complete rewrite)
Expand Down
63 changes: 63 additions & 0 deletions ThingsURLHelper.app/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>applet</string>
<key>CFBundleIconFile</key>
<string>applet</string>
<key>CFBundleIdentifier</key>
<string>ws.willner.alex.ThingsURLHelper</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ThingsURLHelper</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>aplt</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>Things Todo URL Opener</string>
<key>CFBundleURLSchemes</key>
<array>
<string>thingstodo</string>
</array>
</dict>
</array>
<key>LSMinimumSystemVersionByArchitecture</key>
<dict>
<key>x86_64</key>
<string>10.6</string>
</dict>
<key>LSRequiresCarbon</key>
<true/>
<key>WindowState</key>
<dict>
<key>bundleDividerCollapsed</key>
<true/>
<key>bundlePositionOfDivider</key>
<real>0.0</real>
<key>dividerCollapsed</key>
<false/>
<key>eventLogLevel</key>
<integer>2</integer>
<key>name</key>
<string>ScriptWindowState</string>
<key>positionOfDivider</key>
<real>495</real>
<key>savedFrame</key>
<string>0 33 1440 845 0 0 1440 878 </string>
<key>selectedTab</key>
<string>result</string>
</dict>
</dict>
</plist>
Binary file added ThingsURLHelper.app/Contents/MacOS/applet
Binary file not shown.
1 change: 1 addition & 0 deletions ThingsURLHelper.app/Contents/PkgInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APPLaplt
Binary file not shown.
Binary file not shown.
Binary file added ThingsURLHelper.app/Contents/Resources/applet.rsrc
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200
{\fonttbl}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
}
3 changes: 2 additions & 1 deletion plugins/search.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ SELECT
date(T1.startDate,"unixepoch") as "Start",
date(T1.stopDate,"unixepoch") as "Stopped",
T2.title as "Project",
T3.title as "Area"
T3.title as "Area",
'thingstodo:show?uuid='||T1.uuid
FROM $TASKTABLE T1
LEFT OUTER JOIN $TASKTABLE T2 ON T1.project = T2.uuid
LEFT OUTER JOIN $AREATABLE T3 ON T1.area = T3.uuid
Expand Down

0 comments on commit 928d357

Please sign in to comment.