How to duplicate an artboard and its entire contents in ExtendScript
There does not seem to be a method to duplicate an artboard in Illustrator's scripting API. Artboards.add and Document.selectObjectsOnActiveArtboard can do something similar, but the developer needs to worry about whether the PageItem is editable.
Alternatively, it could find all PageItem's that are in the appropriate artboard area and duplicate them, but I don't want to do that.
I have tried to record the duplication of the artboard in an action, but it is not responding.
Is there any way to duplicate the artboard while programmatically specifying the coordinates of the artboard, without worrying about whether the artboard's contents are editable or not?
The reason I want to do that is because I want to change the position of the artboard as I wish, which will be generated by the artboard duplication.
