Is there a script that will replace a shape with another shape?

 From:  stefano (LIGHTWAVE)
11945.16 In reply to 11945.15 
tested this and like its simplicity - thanks Michael...
Please can you let me know, where i change the dialogue box text
to suit my way of thinking...simply put, I'd like it to read:

REPLACE Object(s) Named:
[Circles]

WITH Object Named:
[ Square ]