My question is, can you detect if desktop is currently visible in batch scripting(For Vista)?
The Idea is this: I'm writing a script as a prank for my friend. Some of you may heard about Weeping Angels from Doctor Who. I'm trying to make the script so that each time you return to desktop(Like minimizing something you were looking at), wallpaper changes to another image of the angel, creating the illusion that it's moving when you aren't looking, just like in the series.
My idea for this was to detect when the desktop is not visible, and each time it became visible again, the wallpaper would cycle to the next image. Problem is, I have no idea about how to do that.
Aside from the actual question, any tips regarding the effect is appreciated.
Thank you.