Skip to content

Instantly share code, notes, and snippets.

@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
@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-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-today_reminders.applescript
Last active April 1, 2017 20:54
AppleScript for Things: Copy Things to dos in list "Today" to a list in Apple's Reminders
# things-today_reminders freklov 04/01/2017 a
# Copy Things to dos in list "Today" to a list in Apple's Reminders
#
# ATTENTION
# if two reminders lists with the same name exist, it is not forseeable which list is choosen
#
# Restrictions
# projects in today list are not extracted
#
@freklov
freklov / reminders-delete_completed.applescript
Last active April 1, 2017 20:56 — forked from poritsky/Delete Completed Reminders.applescript
AppleScript: Delete completed reminders from from a dedicated list of Apple's Reminders
# reminders-delete_completed freklov 04/01/2017
# Delete completed reminders from from a dedicated list of Apple's Reminders
#
# ATTENTION
# if two reminders lists with the same name exist, it is not forseeable which list is choosen
#
# Fork from
# https://gist.github.com/poritsky/8d8aec063216ed16b9b5
#
@freklov
freklov / things-tagged_reminders.applescript
Created April 2, 2017 08:14
AppleScript for Things: Copy Things to dos with a specific tag to a dedicated Reminders list
# things-tagged_reminders freklov 04/02/2017
# Copy Things to dos with a specific tag to a dedicated Reminders list
#
# ATTENTION
# if two reminders lists with the same name exist, it is not forseeable which list is choosen
#
property ThingsTagName : "At Work" -- this is the name of the Things tag
@freklov
freklov / things-lostfound.applescript
Created April 2, 2017 09:45
AppleScript for Things: Look for orphaned to dos of Next, Scheduled, Someday, Projects lists and assignes the tag "Lost+Found"
# things-lostfound freklov 04/02/2017
# Looks for orphaned to dos of Next, Scheduled, Someday, Projects lists and assignes the tag "Lost+Found"
#
# Requirements
# Requires a an tag named "Lost+Found"
property ThingsLostFoundTag : "Lost+Found"
# ensure that lost+found tag already exists
@freklov
freklov / Workflow-SiriToWunderlist.md
Last active April 2, 2017 10:08
Workflow.is for Wunderlist: Provide a way to add items to Wunderlist with Siri

Add Wunderlist items with the help of Siri on iOs.

  • „Siri remember me to buy milk“.
  • „Siri remember me to call dad“.

Use Siri to add new reminders to a list. Run this workflow to import Reminders from that list into Wunderlist and to remove the importet items from the Reminders' list.

https://workflow.is/workflows/01d23b425e4e498e9bf12e968fc6f9d5

Does only import reminders without alarm into Wunderlist. You need to change the filter conditions for reminders and the Wunderlist import action, if you want to import the alarms, too.

@freklov
freklov / firefoxURLtoThings.applescript
Created April 22, 2017 17:43
AppleScript for Things: AppleScript Snippet for Automator Service: copy Firefox URL into new Things Todo (Using QuickEntry with AutoFill)
-- create automator servce
-- Drag & Drop "Actions:Utilities:Run AppleScript" into service
--
-- Services receives: no input
-- in <optional: choose specific application>
-- copy and paste the AppleScript commands into action
-- update "tell application" if necessary
on run {input, parameters}
@freklov
freklov / EvernoteToThings.applescript
Created April 23, 2017 07:08
AppleScript for Things: Copy internal URL of Evernote Note and make a todo in Things with Quick Entry
-- create automator service
-- Drag & Drop "Actions:Utilities:Run AppleScript" into service
--
-- Services receives: no input
-- in "Evernote.app"
-- copy and paste the AppleScript commands into action
on run {input, parameters}
-- get name and link of selected note