LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

preventing a screen-saver

I am running an Internet related program that seems to automatically
detect if I am away from the computer after a few minutes. I want to
prevent this by moving the mouse curser. Anyone know how to do this?
I looked through lvwutil32 and found a VI to read the current curser
position, but nothing to set the position.

--
Toby Stensland
toby@stensland.com


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 7
(3,230 Views)

I'd also like to prevent a screen saver from appearing.  And also prevent PC from going into standby mode.

 

Any ideas out there on how to achieve this?

 

Obviously I could disable these things in Windows.  But I just want to the app to appear "busy" so the PC doesn't go to sleep or anything.

http://www.medicollector.com
0 Kudos
Message 2 of 7
(2,651 Views)
0 Kudos
Message 3 of 7
(2,648 Views)

Thanks.  That would work.  But ideally, I'd love to have a simple "pure G" solution.  Or maybe a simple WinAPI call or something.

http://www.medicollector.com
0 Kudos
Message 4 of 7
(2,640 Views)

There is a VI under

Programming >> Dialog and User Interface


It is named "Generate Front Panel Activity". That should do the trick.

Cory K
Message 5 of 7
(2,635 Views)

I think someone may have posted a solution using a WinAPI call.  I don't think the Generate Front Panel activity works.  I remember trying a lot of software ways of doing this and I don't remember any of the working.  It was a case where it really needed to get down to the hardware level to prevent the IT mandated screensaver password lockout from occurring.

0 Kudos
Message 6 of 7
(2,626 Views)