diff --git a/README.md b/README.md index 75200b7..7c89f1d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/ThingsURLHelper.app/Contents/Info.plist b/ThingsURLHelper.app/Contents/Info.plist new file mode 100644 index 0000000..3edbce3 --- /dev/null +++ b/ThingsURLHelper.app/Contents/Info.plist @@ -0,0 +1,63 @@ + + + + + CFBundleAllowMixedLocalizations + + CFBundleDevelopmentRegion + English + CFBundleExecutable + applet + CFBundleIconFile + applet + CFBundleIdentifier + ws.willner.alex.ThingsURLHelper + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ThingsURLHelper + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + aplt + CFBundleURLTypes + + + CFBundleURLName + Things Todo URL Opener + CFBundleURLSchemes + + thingstodo + + + + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6 + + LSRequiresCarbon + + WindowState + + bundleDividerCollapsed + + bundlePositionOfDivider + 0.0 + dividerCollapsed + + eventLogLevel + 2 + name + ScriptWindowState + positionOfDivider + 495 + savedFrame + 0 33 1440 845 0 0 1440 878 + selectedTab + result + + + diff --git a/ThingsURLHelper.app/Contents/MacOS/applet b/ThingsURLHelper.app/Contents/MacOS/applet new file mode 100755 index 0000000..5f6f60f Binary files /dev/null and b/ThingsURLHelper.app/Contents/MacOS/applet differ diff --git a/ThingsURLHelper.app/Contents/PkgInfo b/ThingsURLHelper.app/Contents/PkgInfo new file mode 100644 index 0000000..3253614 --- /dev/null +++ b/ThingsURLHelper.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPLaplt \ No newline at end of file diff --git a/ThingsURLHelper.app/Contents/Resources/Scripts/main.scpt b/ThingsURLHelper.app/Contents/Resources/Scripts/main.scpt new file mode 100644 index 0000000..0c22d72 Binary files /dev/null and b/ThingsURLHelper.app/Contents/Resources/Scripts/main.scpt differ diff --git a/ThingsURLHelper.app/Contents/Resources/applet.icns b/ThingsURLHelper.app/Contents/Resources/applet.icns new file mode 100644 index 0000000..0cdd170 Binary files /dev/null and b/ThingsURLHelper.app/Contents/Resources/applet.icns differ diff --git a/ThingsURLHelper.app/Contents/Resources/applet.rsrc b/ThingsURLHelper.app/Contents/Resources/applet.rsrc new file mode 100644 index 0000000..27a05a0 Binary files /dev/null and b/ThingsURLHelper.app/Contents/Resources/applet.rsrc differ diff --git a/ThingsURLHelper.app/Contents/Resources/description.rtfd/TXT.rtf b/ThingsURLHelper.app/Contents/Resources/description.rtfd/TXT.rtf new file mode 100644 index 0000000..f8a6e5d --- /dev/null +++ b/ThingsURLHelper.app/Contents/Resources/description.rtfd/TXT.rtf @@ -0,0 +1,5 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +} \ No newline at end of file diff --git a/plugins/search.sh b/plugins/search.sh index 9714ee2..92d7a55 100644 --- a/plugins/search.sh +++ b/plugins/search.sh @@ -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