Documentation of OnBeforeFolderChange

Current documentation for OnBeforeFolderChange says:

Use the OnAfterFolderChange event if you want notification after a folder has been read.

Wrong there, but right at the BeforeFolderChangeData page:

If a script add-in implements the OnBeforeFolderChange event, the method receives a BeforeFolderChangeData object before the new folder is read.

I think that is giving you an alternative. OnBeforeFolderChange will fire before, OnAfterFolderChange will fire after. The OnAfterFolderChange has the same wording. Though the onafter has the onbefore set as a link, which is nice.

Duh, my mistake.