Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
graphic:javascript:photoshop [2023/03/05 03:00] – [Doc operation code] ying | graphic:javascript:photoshop [2023/03/05 03:02] (current) – [Doc operation code] ying | ||
---|---|---|---|
Line 443: | Line 443: | ||
// Move the selection down by the height of one part | // Move the selection down by the height of one part | ||
app.activeDocument = doc; | app.activeDocument = doc; | ||
- | var selectionBounds = doc.selection.bounds; | ||
doc.selection.translateBoundary(0, | doc.selection.translateBoundary(0, | ||
} | } |