Skip to content

Instantly share code, notes, and snippets.

@brwillis
brwillis / inbox2dated.scpt
Created July 8, 2016 23:40
Some applescript to move messages from an Outlook inbox to a dated folder in your On My Computer folder.
tell application "Microsoft Outlook"
activate
set folderName to "Inbox"
if name of selected folder is not equal to folderName then set selected folder to inbox
set selectedMessages to messages of selected folder
repeat with theMessages in selectedMessages
set {year:y, month:m, day:d} to time received of theMessages
set datedFolder to "" & y & "-" & m & ""
if not (exists mail folder datedFolder of on my computer) then
make new mail folder with properties {name:datedFolder} at on my computer
# Semantics and Compliance
Interpret the key words **MUST**, **MUST NOT**, **REQUIRED**, **SHALL**, **SHALL NOT**, **SHOULD**, **SHOULD NOT**, **RECOMMENDED**, **MAY** and **OPTIONAL** in this document as follows:
- **MUST** This word, or the terms "REQUIRED" or "SHALL", mean that the definition is an absolute requirement of the specification.
- **MUST NOT** This phrase, or the phrase "SHALL NOT", mean that the definition is an absolute prohibition of the specification.
- **SHOULD** This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course. Exceptions require Brand Marketing Operations approval.
- **SHOULD NOT** This phrase, or the phrase "NOT RECOMMENDED" mean that there may exist valid reasons in particular circumstances when the particular behavior is acceptable or even useful, but the full implications should be
@brwillis
brwillis / .gitignore
Last active April 1, 2016 14:42
java-intellij-gradle-osx
### Java ###
*.class
*.jar
*.war
*.ear
hs_err_pid*
### Intellij ###
.idea/
.idea_modules/