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:
I hereby claim:
To claim this, I am signing this object:
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()) |