The script, of course, just uses InDesign's idea of an``export. ``
"it registers a handler for indesign's``beforeexport""event, and whenever indesign decides there is going to be an export, it calls the beforeexport handlers."