This board is not simply for requests for someone else to make a script for you.
If posting a thread here then show some evidence you have either...
1) Attempted to write the code yourself, this means either post the whole script or the snippet you need help with.
2) Researched how the script will work and need help with exactly what commands to use or what the best method may be.
Threads that show no effort on behalf of the poster will be deleted.
Windows 7 Pro, Intel i7 3.8 GHz (Passmark: 9021), 16GB DDR3, NVIDIA GTX 780 4GB Superclocked (Passmark: 8056)