Please read this first…

Outdated code discovered!

Many code examples and tutorials on this website are more than 5 years old. I can’t find the time to update this different posts and I don’t like to remove them.
Maybe the (old) code will help you to get some inspiration and don’t forget to test your script before you publish it.