Outlook-Exchange-Setup icon indicating copy to clipboard operation
Outlook-Exchange-Setup copied to clipboard

scheduled event is no longer deleted - office 14.4.3

Open diwanicki opened this issue 10 years ago • 1 comments

The “Exchange Setup” Schedule which this script injects to build the account is not being deleted any more, resulting in a new mailbox being created every time Outloook is launched, until the scheduled item is manually removed from the Schedules preference.

diwanicki avatar Jul 18 '14 19:07 diwanicki

Just tested using the command by itself:

tell application "Microsoft Outlook"
    delete schedule "Exchange Setup"
end tell

Something before this line in the script may be causing the remainder of the script to fail. The script encloses the account creation command in "try" an "end try" statements to silently fail if it encounters a problem. Comment those lines and manually run the script to see what's erring.

talkingmoose avatar Jul 20 '14 15:07 talkingmoose