Make Artboard for Selection
Currently, there's no way to add an artboard using the actions pallet. If there were, I would create the action that said:
Copy Selected Element(s)
Create a new blank artboard
Activate new artboard
Paste in Place.
Essentially, it would create an identical artboard for whatever you had selected. This would be nice to have built in to the artboard options... if you have something selected when you add a new artboard, automatically copy it in its same location on the new artboard.
-
Indeed, Actions are blind to Artboards panel’s buttons and commands...
Amazingly, I don’t see older requests for this!At the moment, I can offer two workaround solutions... both based on scripts.
1. There are several scripts that can create rectangles based on artboards, the most prominent being DrawRectanglesByArtboards (https://github.com/creold/illustrator-scripts/blob/master/md/Draw.md#drawrectanglesbyartboards). With you can record using it into an action and follow with Object > Artboard > Convert to Artboards... (actionable) but it would also require moving it a bit... to do so, I’d flip it horizontally from the right edge and move a bit with Move dialog. Cumbersome :D
2. Duplicate Artboards script: https://www.youtube.com/watch?v=qDH1YRaYMYk