Hi , did you read that thread?
however that s just a pointer, you need to write the actual script yourself