Re: Simulate user interaction - Avoid screen saver activation



In article <0Ydce.1306282$35.48491839@xxxxxxxxxxxx>,
cardstarzinger@xxxxxxxx says...
> Hi!
>
> I need help to simulate programmatically user interaction on WinNT 4.0, to
> avoid screen saver activation.
>
> I try with key injection event.
>
> SendInput API and keybd_event API work correctly with Win2000 and WinXP
> system. Screen saver don't start.
>
> Under WinNT 4.0 these API, inject key event correctly at active application
> (ex. notepad) but system screen saver start !!!! :(

To quote from a very old Bill Cosby routine called "Chicken Heart",
"So you idiot, turn it off!"

Back to being serious, do you really have a problem with a Windows NT
4.0 installed base? Are there enough of them still out in the wild
to worry about? More importantly, if there are, why not just
turn off the screen saver?

--
Randy Howard (2reply remove FOOBAR)
"Making it hard to do stupid things often makes it hard
to do smart ones too." -- Andrew Koenig
.



Relevant Pages

  • Simulate user interaction - Avoid screen saver activation
    ... SendInput API and keybd_event API work correctly with Win2000 and WinXP ... Screen saver don't start. ... Under WinNT 4.0 these API, inject key event correctly at active application ...
    (comp.programming)
  • RE: Screensaver Question
    ... I have not used this API before, so I cannot comment on personal use. ... Keep an eye on the product lifecycle for Visual FoxPro here: ... >I'm trying to deactivate the screen saver programatically using ... > DECLARE INTEGER SystemParametersInfo IN user32; ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Locking Workstation Group Policy
    ... Users don't need admin rights to install something unless it ... where we limited the user's right to write in the WINNT directory. ... >Giving users the flexibility to select their own screen saver helps dampen ...
    (microsoft.public.windows.group_policy)
  • Re: verify windows password?
    ... will pass back to you whether the credentials it received were ... good without actually sharing those credentials with your ... If there is such an API I have never heard of it. ... Just set the frigging screen saver to require password ...
    (comp.databases.ms-access)
  • Re: Waking up a monitor
    ... there is one statement in this API: ... "This function does not stop the screen saver from executing either. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.win32.programmer.kernel)