Re: Sending Keys/Mouse While Screen Saver Active
- It sounds like what you want to do is to disable the screen saver
before you run your test code, then re-enable it after you are done.
The way to do that is through the Win32 API call, SystemParametersInfo
using the constant SPI_SETSCREENSAVEACTIVE. If you can't get a good
handle on how to use the call (try Google), I'll post a skeleton
script for you.
--- In firstname.lastname@example.org, "bobbaloo2002" <bobbaloo2002@y...>
> I'm trying to run a test on a Windows XP machine that sends Mouse5
> Clicks and Keys to a specific window. All works fine until the
> Saver activates.
> Is there a way to force Mouse Clicks and Keys to the specific window
> even when the Screen Saver is running?
> The Screen Saver is password controlled for security reasons (after
> minutes) and the test isn't always using the mouse or keys to keep
> screen active.
> Any help or suggestions would be appreciated.