Skip to content

Instantly share code, notes, and snippets.

Daniel Da Cunha ddacunha

  • Singapore
Block or report user

Report or block ddacunha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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: " +
var lastSelectedMessage = selectedMessageList[selectedMessageList.length-1] //set lastMessage to last item of msgList
console.log (lastSelectedMessage.subject())

Keybase proof

I hereby claim:

  • I am ddacunha on github.
  • I am ddacunha ( on keybase.
  • I have a public key ASBPT2yPHOrGPJqDdxjgml62_IZHu7Pm0hjrM6z2_Yp5XAo

To claim this, I am signing this object:

You can’t perform that action at this time.