The script for Adobe Illustrator automatically adds guides along the borders of selected objects and their sides: top, bottom, left or right.
It processes several selected objects at once, calculating their combined borders, and creates guides covering the entire artboard.
The script and instructions for installing it on the website ngolowin.ru or google docs