MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Execute on Exit?

  • To: mathgroup at
  • Subject: [mg107357] Execute on Exit?
  • From: Chris Degnen <degnen at>
  • Date: Wed, 10 Feb 2010 03:37:02 -0500 (EST)

Hi. Is it possible to run a command upon system close?

The 'close' menu binding is customisable but doesn't seem to accept a
sequence of tokens, e.g. Item["E&xit",
KernelExecute[CustomFunction[]]; "FrontEndQuit"]

The top-right close button isn't affected by the menu binding though.

Thanks in advance.

  • Prev by Date: Re: Difference between Animator and Trigger?
  • Next by Date: A question about Graphics3D
  • Previous by thread: Re: Mathematical Symbol
  • Next by thread: Re: Execute on Exit?