Windows 7 sleep exclusions

Hey I am wondering I have auto-sleep function on my windows 7 computer and have noticed something. Windows 7 won`t sleep if Windows Live Messenger is running... So I`m wondering is there a way to configure windows 7 to not sleep if say google chrome is running.

P.S. My keyboard went french so question marks don`t work.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.