Create a shape that encompasses several non-overlapping objects
Is there a script, technique or plugin that will allow me to easily create a shape which encompasses several objects which don't overlap. I can do it easily enough by hand but I have thousands of these to do and I need some method of automation.
The left hand image is typical of the type of group I have and the image to the right is what I need to end up with; a shape which encompasses all objects but acts as a perimeter for the object group.
Thanks in advance.

