thanks for giving me this script but it does not work with me, it gives me a message theat " Wrong Selection ..."

if you give some working example please send it to me as soon as possible.