Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jan : Stop a screen saver from a service

www.cryer.info
Managed Newsgroup Archive

Stop a screen saver from a service

Subject:Stop a screen saver from a service
Posted by:"Matthew Augier (dps)" (matth..@dps.uk.com)
Date:Tue, 17 Jan 2006 13:20:26

I'm running a service, which does some processing. I only want to run this
processing when the system is not busy (e.g. <5% cpu usage). If the screen
saver is running, is there anyway I can send a fake key stroke to the screen
saver desktop to cancel it form my service? On top of that, is there a way
to detect if a screen saver is actually running forma service? I can't
access the registry as I don't have access to the users HKLU?

TIA

Mat

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive