User defined Properties

I need a script that will allow me to edit the userdefined properties, for multiple objects at the same time.