Skip to content

Instantly share code, notes, and snippets.

View IanSchray's full-sized avatar

Ian Schray IanSchray

View GitHub Profile
@IanSchray
IanSchray / 2013-02-15-TUAW_Waldie.applescript
Last active December 23, 2015 06:39 — forked from benwaldie/2013-02-15-TUAW_Waldie.applescript
Hands-off version for automatically running via Automator. Creates a report for "Yesterday" and saves it to Evernote.
-- Prepare a name for the new note
set theNoteName to "OmniFocus Completed Task Report"
(*
-- Prompt the user to choose a scope for the report
activate
set theReportScope to choose from list {"Today", "Yesterday", "This Week", "Last Week", "This Month"} default items {"Yesterday"} with prompt "Generate a report for:" with title "OmniFocus Completed Task Report"
if theReportScope = false then return
*)
set theReportScope to "Yesterday"