Applescript and Photoshop Artboards
I'm just beginning to learn how to script for Photoshop, and I'm running into an issue I can't find an answer to anywhere. I'm using Applescript, since I'm a scripting novice. The problem is that I can't get scripts to work if the target layer is contained within an artboard. For example, take the following simple test script that hides any layer named "Test":
tell application "Adobe Photoshop CC 2019"
set myDoc to current document
tell myDoc
set the properties of (every art layer whose name is "Test") to {visible:false}
end tell
end tell
My test file has one "Test" layer inside an artboard, and two outside. As you can see below, only the two outside the artboard were modified.

Is it possible to tell Photoshop to look inside artboards with Applescript?
Moved to Scripting forum. [Moderator]
