Post

Replies

Boosts

Views

Activity

Reply to Selecting e-mails using AppleScript - Microsoft Outlook app
tell application "Microsoft Outlook" activate set theMessage to {} set theAccount to the first exchange account whose name is "" set selected folder to sent items of theAccount repeat with each in theArrayOfSubject set end of theMessage to (first message of sent items of theAccount whose subject contains each) end repeat set selection to theMessage set choosenmesg to {} set selectedMessages to selection repeat with eaitem in selectedMessages set end of choosenmesg to subject of eaitem end repeat return choosen_mesg end tell
Jun ’20