I am not 100% sure if I am right, but do you reder to the "events" that can contain functions on initialize post... and closedoc.In these events people might add scripts that will execute when opening etc. the document. (Like you said with your variables.)(Other events are exit, calculate, mouseup, ...