Hi,
There is a very nice CATScript in the file v5automation (you can find it on the path c:\Programme\Dassault Systemes\B14\intel_a\code\bin\) which has the purpose to "Write the name of selected products in a text file".
This is what you want in fact? If yes, this is the best solution (combined with what Derek said).
Regards
Fernando