I'm trying to create a custom action for initializing a new document so that it has a rectangular path marking the artwork bounds, trim marks around that, and a few other helpful guides and such on various layers.
These are things I find myself needing to create repeatedly for designs of various dimensions, so rather than repeat this process many times creating different templates, creating an action to handle all sizes seems more logical.
The problem is that there is no "Resize Selection to Artboard" option that I can record into my action, and it seems like the only solutions that exist are scripts (1, 2). Can scripts be triggered within an action? I tried doing this as a test, but the script execution was not recorded in my action.
I've also tried creating a rectangle of dimensions 100% by 100%. Of course this didn't work, it just defaulted to 100mm.
I'm pretty much open to any solution that can get a rectangle to fit the bounds of the artboard through an action. Thanks.