defaultEditions
Syntax

Document.defaultEditions;
Access
read/write
Parameters
Return value string[]
An array of Edition names.
Description
The defaultEditions property gets or sets the list of Edition names that new page items will be assigned to on creation. Setting this property changes which editions are pre-selected when a new page item is created in the document.
Examples
Get the default editions for new page items
// Get the default editions of the active document.
var editions = app.activeDocument.defaultEditions;
alert("Default editions: " + editions.join(", "));
Set the default editions for new page items
// Assign all new page items to the "North" and "South" editions by default.
app.activeDocument.defaultEditions = ["North", "South"];
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |