-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello,
While running the Outliner.jsx script on Adobe Illustrator (macOS), I encountered the following error:
Error 21: undefined is not an object.
Line: 289
-> siblings[0].selected = true;
It seems that the siblings array is either undefined or empty at this point, which causes the script to fail. A conditional check before accessing the array could help prevent the issue:
if (siblings && siblings.length > 0) {
siblings[0].selected = true;
}
System Info:
Adobe Illustrator version: [e.g. 2024 v28.0]
macOS version: [e.g. macOS Sonoma 14.3]
Please let me know if there's a fix or updated version. Thank you for the great script!
Best regards,
Metadata
Metadata
Assignees
Labels
No labels