So I'm glad to see that you understand the error with my english ! By the way I still have a little problem but it's not very important since it works well anyway. The problem is that if I do :
IF ComputerInGroup("ABC")=1
AddPrinterConnection...
ENDIF

and the computer is member of group "ABC" it works fine.
But if I do :
IF ComputerInGroup("DEF")=1 AddPrinterConnection... ENDIF
and if the computer is member of group "ABC", and group "ABC" is member of group "DEF", it won't work... Is this normal ? It should work or am I wrong ?