Thanks Michael for your answer,
I don't really know the reason, but after writing the function, it's working fine now. Maybe a typing error or something like that in my code ?
Well, I can finish to read it now x) I'll probably help to create a documentation in French when I'll get the time for. I stay connected !