Create a shape that hides everything outside the artboards
Please make such a script:
1) Create a new layer with black color on top of all other layers
2) On this layer is created a very large rectangle with 2000 px indents from the borders of the extreme artboards
3) Create rectangles the size of each artboard in the document and cut out of a very large rectangle
4) This shape is repainted in color #606060
5) This top layer is blocked
This script will hide everything that is outside of all the artboards
It would be great if it could be used many times. That is, each time run the script the shape will be replaced by a new shape with new slots for new artboards.


