Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dustmoo on github.
  • I am duality (https://keybase.io/duality) on keybase.
  • I have a public key ASBlIxIV9NPglwsWJaQ9OgtLyYoMzWYXD_8wtH3LmJ66mgo

To claim this, I am signing this object:

@dustmoo
dustmoo / cleanjiraspam.osa
Created April 22, 2020 23:12
CleanJiraSpamFromOutlookExample AppleScript
tell application "Microsoft Outlook"
activate
set msgSet to current messages
if msgSet = {} then
error "No Messages selected. Select at least one message."
error -128
end if
if msgSet is not {} then
repeat with aMessage in msgSet
@dustmoo
dustmoo / send_outlook_to_things.osa
Last active April 22, 2020 23:20
Send Selected Outlook Messages to Things Applescript
tell application "Microsoft Outlook"
activate
set msgSet to current messages
if msgSet = {} then
error "No Messages selected. Select at least one message."
error -128
end if
set theMessage to item 1 of msgSet
set theAccount to account of theMessage
set theSubject to the subject of theMessage