BeforeExperimentSaveHook for autosave

I like the autosave feature but want to turn it off for huge files.  I don't really expect Igor to handle that for me, so I want a BeforeExperimentAutoSaveHook option to extend the BeforeExperimentSaveHook feature.

I don't use autosave, but isn't what you want already built into BeforeExperimentSaveHook()? refNum = 17 and 19 should tell you that Igor is about to auto-save (in Igor 9). You can then query the size of the existing file, e.g., via

GetFileFolderInfo/P=home/Q IgorInfo(12)
variable sizeInMB = V_logEOF/1024^2

and decide whether to abort the save process if it is too big.

Thanks chozo, I missed that!

So this topic should be moved to "general help" from "wish list"!