Give an argument to an script run from the python console of salome

thanks for your reply,
for retrive the selection is quite easy (in case you might need it):

import salome
obj0 = salome.IDToObject(salome.sg.getSelected(0))

regards