My Applescript template I use for scripts when inside Omnifocus