Skip to content

Instantly share code, notes, and snippets.

@freklov
freklov / things-load_from_template.applescript
Last active April 1, 2017 19:07
AppleScript for Things: Create a new project from a text template
# things-load_from_template freklov 04/01/2017
# Create a new project from a text template
#
# Load Process
# Choose text file from folder
# Create project in Things with name of file
# Add each line of file to created project as to do
# Bring things into project edit mode
#
# Requirements
@freklov
freklov / things-set_active_work_area.applescript
Created April 1, 2017 17:49
Applescript for Things: Suspend / Resume work areas based upon tags assinged to the work area
# things-set_active_work_area freklov 03/11/2017
# Suspend / Resume work areas based upon tags assinged to the work area
#
set listOfTags to {"All"}
tell application "Things"
# build a list of available tag names
repeat with thingsArea in areas
set textTagNames to tag names of thingsArea
@freklov
freklov / things-todos_to_clipboard.applescript
Created April 1, 2017 17:46
Applescript for Things: Copy selected to dos to clipboard
# things-todos_to_clipboard frekolv 04/01/2017
# Copy selected to dos into clipboard
set itemsList to {}
tell application "Things"
repeat with todoItem in selected to dos
set textTodo to name of todoItem
copy textTodo & return to end of the itemsList
set the clipboard to textTodo