This file contains hidden or 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 "Microsoft Outlook" | |
| set myInbox to folder "Inbox" of default account | |
| set theMessages to messages of inbox | |
| repeat with theMessage in theMessages | |
| try | |
| # rules will go here | |
| on error errorMsg | |
| log "Error: " & errorMsg | |
| end try |
This file contains hidden or 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
| # Some initial variables | |
| set today to (current date) | |
| set cutoff to 2 * days | |
| set shortCutoff to 3 * hours | |
| tell application "Microsoft Outlook" | |
| set myInbox to folder "Inbox" of default account | |
| set archive to folder "Archive" of default account | |
| set theMessages to messages of inbox |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>uk.co.29ways.outlook-cleanup</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>osascript</string> |
This file contains hidden or 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
| syntax on | |
| filetype plugin on | |
| " Enable autocomplete | |
| set ofu=syntaxcomplete#Complete | |
| " General defaults | |
| " =================== | |
| set expandtab " use spaces for tabs |
OlderNewer