is an option for notebooks that specifies whether a package is automatically created when a notebook that contains initialization cells or groups is saved.


AutoGeneratedPackage
is an option for notebooks that specifies whether a package is automatically created when a notebook that contains initialization cells or groups is saved.
Details

- With the default setting AutoGeneratedPackage->Manual, a dialog box appears when a notebook containing initialization cells or groups is saved, asking whether a package should be created. Depending on your response, the value of the option is reset to None or Automatic.
- With the setting AutoGeneratedPackage->Automatic, a package is automatically created when a notebook containing initialization cells or groups is saved for the first time. The package is automatically updated each time the notebook is saved. The package file has the same name as the notebook except with the suffix ".m" instead of ".nb", and it is stored in the same directory as the notebook.
- With the setting AutoGeneratedPackage->None, no package is created when a notebook containing initialization cells or groups is saved.
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), AutoGeneratedPackage, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoGeneratedPackage.html.
CMS
Wolfram Language. 1999. "AutoGeneratedPackage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AutoGeneratedPackage.html.
APA
Wolfram Language. (1999). AutoGeneratedPackage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutoGeneratedPackage.html
BibTeX
@misc{reference.wolfram_2025_autogeneratedpackage, author="Wolfram Research", title="{AutoGeneratedPackage}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/AutoGeneratedPackage.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_autogeneratedpackage, organization={Wolfram Research}, title={AutoGeneratedPackage}, year={1999}, url={https://reference.wolfram.com/language/ref/AutoGeneratedPackage.html}, note=[Accessed: 18-August-2025]}