Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Da Cunha ddacunha

View GitHub Profile
@ddacunha
ddacunha / OutlookSelectNext.scpt
Created Jun 20, 2018
[AppleScript] Select next message in Outlook 2016 (in Javascript)
View OutlookSelectNext.scpt
var outlook = Application('Microsoft Outlook')
var selectedMessageList = outlook.currentMessages()
for ( m of selectedMessageList) {
console.log( "selectedMessageList: " + m.id())
}
var lastSelectedMessage = selectedMessageList[selectedMessageList.length-1] //set lastMessage to last item of msgList
console.log (lastSelectedMessage.subject())
View keybase.md

Keybase proof

I hereby claim:

  • I am ddacunha on github.
  • I am ddacunha (https://keybase.io/ddacunha) on keybase.
  • I have a public key ASBPT2yPHOrGPJqDdxjgml62_IZHu7Pm0hjrM6z2_Yp5XAo

To claim this, I am signing this object: