This site aims to be the ultimate resource for Adobe Illustrator(c) scripting. Here you will find regularly updated collection of scripts for all your creative needs.
If you find yourself doing the same task again and again, or you have an idea how to optimise your  workflow – get in touch, and we will provide solution.

Artboard resize with objects

Adobe lets you resize artboards, but even [Copy Artwork with Artboard] selected objects stay behind.

enter artboardsResizeWithObjects.jsx

This illustrator script will resize all document artboards with all the objects on it. Will work with pixel and percentage values.