Reputation: 74
I was making a program that changes the desktop background, but there is no need to do this when the user is not on the desktop.
I was wondering if there was a way to detect if the user was on the desktop.
I was also thinking an alternative could be checking whether the user is on any other processes, but I don't know how to do this either.
(I would happily provide my code if necessary)
I'm sorry for posting such a broad question, I hope there is a way to do this though.
Thanks to anyone who can help!
Upvotes: 1
Views: 910
Reputation: 60
If you want to check application in idle condition then you have to do below:
And If want to check idle condition of desktop then below references will be useful for you:
Upvotes: 2