Script to convert generated texture coordinates to UVs?

Hello,

Does anyone know of a script for Blender 2.6 that will convert generated texture coordinates to UVs?

I need this as when I export as OBJ, only UV textures are retained, not generated ones.

Yes, I know I can UV map manually prior to exporting, but a script would help my workflow.

Thank you, tom_holly

wrong forum

ask in python forum

may be there is one but have not seen it yet ?

happy 2.6