sorry i don't have the time to write the script for you.
after you have all your objects selected you just need a line:
just replace myDocument with the variable you used for refereing to the active document.
Thank you so much for your answer! Could you really quickly explain the basics behind this? Is the key here to the elements preserving their relative positioning to each other the 'AlignDistributeBounds' part? or the HORIZONTAL_CENTER?? Again, thank you very much!
OMG! Thats EXACTLY what I was looking for! Thank you so much!
These forums rock!!!
You are welcome!