hi, curiously i wrote a script quite like this but a week ago: http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_renameobjectgui.htm With regards.