Skip to content

Instantly share code, notes, and snippets.

@mygeekdaddy
mygeekdaddy / OmniFocus_Overdue_Summary.scpt
Created Aug 1, 2019
Applescript to create .MD file of OmniFocus tasks that are due to be completed.
View OmniFocus_Overdue_Summary.scpt
(*
File: OmniFocus_Overdue_Summary.scpt
-------------------------------------------------------------------------------------------------
Revision: 1.03
Revised: 2019-08-01
Summary: Create .md file for list of tasks due and deferred +/- 7d from current date.
-------------------------------------------------------------------------------------------------
Script based on Justin Lancy (@veritrope) from Veritrope.com
http://veritrope.com/code/write-todays-completed-tasks-in-omnifocus-to-a-text-file
-------------------------------------------------------------------------------------------------
@mygeekdaddy
mygeekdaddy / OmniFocus_Due_List.scpt
Created Jul 3, 2015
Generate MD file for tasks due within +/- 7d of current date
View OmniFocus_Due_List.scpt
(*
File: OmniFocus_Due_List.scpt
Revision: 1.0
Revised: 2015-07-01
Summary: Create taskpaper list of tasks due +/- 7d from current date.
-----------------------------------------------------------
Script based on Justin Lancy (@veritrope) from Veritrope.com
@mygeekdaddy
mygeekdaddy / OmniFocus_Due_List_R2.scpt
Last active Feb 10, 2019
Generate MD file for tasks due within +/- 7d of current date (Rev 2)
View OmniFocus_Due_List_R2.scpt
(*
File: OmniFocus_Due_List.scpt
Revision: 1.1
Revised: 2019-02-10
Summary: Create taskpaper list of tasks due +/- 7d from current date.
-----------------------------------------------------------
Script based on Justin Lancy (@veritrope) from Veritrope.com
http://veritrope.com/code/write-todays-completed-tasks-in-omnifocus-to-a-text-file
@mygeekdaddy
mygeekdaddy / OmniFocus_due_list_v4.14.scpt
Created Feb 7, 2019
Applescript to create .MD file of active OmniFocus tasks
View OmniFocus_due_list_v4.14.scpt
(*
File: OmniFocus_Due_List.scpt
-------------------------------------------------------------------------------------------------
Revision: 4.14
Revised: 2019-02-07
Summary: Create .md file for list of tasks due and deferred +/- 7d from current date.
-------------------------------------------------------------------------------------------------
Script based on Justin Lancy (@veritrope) from Veritrope.com
http://veritrope.com/code/write-todays-completed-tasks-in-omnifocus-to-a-text-file
-------------------------------------------------------------------------------------------------
@mygeekdaddy
mygeekdaddy / weather.py
Created Mar 19, 2014
Python script to scrape webpage for weather widget area
View weather.py
#!/usr/bin/env python
# use selenium to take webpage screen shot based on stackoverflow from Corey Goldberg
# http://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver/6282203#6282203
# http://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver
from selenium import webdriver
from PIL import Image
import PIL.ImageOps
import time
View photo_merge_p3.py
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# The MIT License (MIT)
#
# Copyright 2015 Adam Pritchard
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
# and associated documentation files (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
View ImportToOF.py
#Summary: Takes copied text and creates new task in OmniFocus
#By: Jason Verly
#Rev: 2013-02-04
#Rev Note: Added Page Title & URL to clipped txt
import webbrowser
import clipboard
import urllib
import console
import sys
@mygeekdaddy
mygeekdaddy / OmniFocus_Ad_Hoc.scpt
Created Sep 5, 2015
Applescript to create a new task to log ad hoc request to document task for any follow up during weekly review.
View OmniFocus_Ad_Hoc.scpt
-- Copyright (c) 2015 Jason Verly
-- Original script by Dan Byler (bylr.net)
-- Permission is hereby granted, free of charge,
-- to any person obtaining a copy of this software
-- and associated documentation files (the "Software"),
-- to deal in the Software without restriction,
-- including without limitation the rights to use, copy,
-- modify, merge, publish, distribute, sublicense,
-- and/or sell copies of the Software, and to permit persons
View SendListToOmni.py
#Import into Omnifocus a list of task from the clipboard
import clipboard
import re
import webbrowser
import urllib
import console
base = 'omnifocus:///add?name='
text = clipboard.get()
@mygeekdaddy
mygeekdaddy / custom.css
Created Jul 3, 2015
Custom CSS file from Marked to generated graph lines in PDF files
View custom.css
/*
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra
Please leave this notice in place, along with any additional credits below.
---------------------------------------------------------------
Title: custom.css
Author: Jason Verly (@mygeekdaddy)
Description: Custom CSS file to generate 'graph paper' on rendered MD to PDF
*/
You can’t perform that action at this time.