Name: MakeRectangleAI.jsx
Application to use with: Adobe Illustrator CS3, CS4, CS5
Version: 1.2
Program language (Environment): JavaScript (ExtendScript Toolkit 2)
Operating systems (Platforms): PC, Macintosh (Windows, Mac OS)
Distribution conditions: Freeware; At your own risk
Functions: Creates rectangle around chosen objects (artboard or selection)
Functional limitations: Can not process selected guides
Technical support: Sergey-Anosov@yandex.ru
https://sites.google.com/site/dtpscripting