This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Evernote" | |
activate | |
create note from file theFile notebook {"Personal Archive"} tags {"receipt/statement"} | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
### SCRIPT NAME | |
Send nvALT Checkboxes to Omnifocus | |
### DESCRIPTION | |
Automatically scans nvALT files (via Hazel) and, upon finding "checkboxes," | |
sends them to OmniFocus as tasks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
### SCRIPT NAME | |
Add Emails to OmniFocus | |
### DESCRIPTION | |
A simple script aimed at working with "todo" emails. The script | |
accomplishes two things: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
### SCRIPT NAME | |
OmniFocus+ | |
### DESCRIPTION | |
Allows for smarter task entry on OS X: if OmniFocus is running, use | |
Applescript to add the task; otherwise, use the user's Mail Drop | |
email address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Determine whether OmniFocus is running. | |
tell application "System Events" | |
set omnifocusActive to count (every process whose name is "OmniFocus") | |
end tell | |
if omnifocusActive > 0 then | |
-- OmniFocus is running, so insert a task into it directly. | |
tell application "OmniFocus" to tell document 1 | |
make new inbox task with properties {name:"TASK TITLE"} | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
### SCRIPT NAME | |
Save Files to Evernote (via Hazel) | |
### DESCRIPTION | |
Allows for smarter document creation on OS X: if Evernote is running, use | |
Applescript to add the document; otherwise, use the user's Evernote | |
email address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Before we do anything, see if there's even an instance | |
-- of Chrome running. | |
tell application "System Events" | |
set numChrome to count (every process whose name is "Google Chrome") | |
end tell | |
if numChrome > 0 then | |
tell application "Google Chrome" | |
set frontIndex to active tab index of front window | |
set theUrl to URL of tab frontIndex of front window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pythonista script to trigger different Launch Center Pro | |
# actions based on internet availability | |
# Author: Aaron Bach | |
# www: http://www.bachyaproductions.com/ | |
import json | |
import re | |
import socket | |
import sys | |
import urllib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pythonista script to create a Launch Center Pro action with all my | |
# updated grocery lists. | |
# Author: Aaron Bach | |
# www: http://www.bachyaproductions.com/ | |
import json | |
import os | |
import sys | |
import urllib | |
import urllib2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drafts://x-callback-url/import_action?type=email&name=Email to OmniFocus&to=xxxxx.xxxxx@sync.omnigroup.com&cc=&bcc=&subjecttype=1&subject=&markdown=1&background=1&fromprefix=&template=[[body]] |