Merge feat/scripts-api-d1a-app-documents into feat/scripts-api-d7a-variables

# Conflicts:
#	crates/engine/src/script/dom.rs
This commit is contained in:
dotCooCoo committed 2026-11-22 12:03:26 -08:00
commit 1da34ab336
9 files changed
+258 -30

No files matched your search

+4 -3
View File
@@ -2652,7 +2652,8 @@ app through the global object `vc`, and writes to the Script Console and runs ot
or removes only that object, as `select.add` and `select.toggle` do, and the other objects stay selected as they
were), `opacity` (0 to
100), `position`, `left`, `top`, `width`, `height`, `geometricBounds`, `visibleBounds`, `controlBounds` (the
visible bounds), `editable`, `zOrderPosition`, `duplicate(relativeObject?, insertionLocation?)`,
visible bounds), `editable` (false for an object that is hidden or locked, in a hidden or locked layer or group,
or on a locked artboard), `zOrderPosition`, `duplicate(relativeObject?, insertionLocation?)`,
`move(relativeObject, insertionLocation?)`, `remove()` and `zOrder(method)`
(https://ai-scripting.docsforadobe.dev/jsobjref/GroupItem/). `move` runs `node.move`, and `duplicate` runs
`edit.duplicate` and then `node.move` on the copy. The relative object is a page item or a layer of the same
@@ -9145,8 +9146,8 @@ with the defaults.
The profile is read on every `file.new`, so a replayed journal or a recorded action uses the profile as it is when it
runs, as `document.open` reads its file when it runs. A file larger than 64 MiB (VectorCraft's own limit) is not read.
When the file cannot be read, is too large or is not a native document, or the request's read roots leave out the
folder (whether or not the file exists), the document starts with the defaults and
When the file is a link or a folder, cannot be read, is too large or is not a native document, or the request's read
roots leave out the folder (whether or not the file exists), the document starts with the defaults and
`file.new`'s result carries `profileError: {profile, reason}`; the desktop app shows the reason in the status bar, and
a script's `app.documents.addDocument` throws it. A script's file access limits do not apply to reading the profile's
file. The