I am looking for a script or example that would meet the above requirements. Thank you very much for your answer.