MathGroup Archive 2009

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

Search the Archive

Re: Notebook that auto-executes when opened?


no, it would be the first Mathematica written virus

My favorite command would be

DeleteFile/@ FileNames["*.*", {"C:\\"}, 4]


AES wrote:
> Possible to set an option for a notebook such that it automatically 
> begins executing when opened, that is, when the nb icon is dbl-clicked 
> on the desktop, or however else files are opened in the operating system 
> that's being used?
> I guess I'm also assuming here an OS which, along with opening the file 
> itself, if necessary first opens the app which executes the file, since 
> that's the only type of OS that I'm familiar with.  Are there any 
> Mathematica compatible operating systems that don't do this?

  • Prev by Date: Re: Starting Mathematica without GUI
  • Next by Date: Re: Maximum in a list
  • Previous by thread: Notebook that auto-executes when opened?
  • Next by thread: Re: Re: Notebook that auto-executes when opened?