You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At some point, possibly after upgrading to OS X 10.8.2, the archive script stopped working for me. The root of the issue was that the (current date) method was returning "error number -10004" rather than the appropriate date.
I fixed this by moving the (current date) method outside of the tell block. For example:
onarchiveExchangeFolders(exchangeFolders, excludedFolders, archiveRootFolder, daysBeforeArchive)
setdateNowto (current date)
tellapplication"Microsoft Outlook"-- Calculate the earliest date of mail that must remain on exchange serversetearliestDateto (dateNow - (daysBeforeArchive *days))
log"Earliest Date - "& earliestDate
The text was updated successfully, but these errors were encountered:
At some point, possibly after upgrading to OS X 10.8.2, the archive script stopped working for me. The root of the issue was that the (current date) method was returning "error number -10004" rather than the appropriate date.
I fixed this by moving the (current date) method outside of the tell block. For example:
The text was updated successfully, but these errors were encountered: