LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you move the mouse cursor?

Solved!
Go to solution

How do you move the mouse using LabVIEW so the computer will think the operator moved it so the system will not go in to screen saver mode.  The IT nerds have it set to 1 min but the tests take much longer, they will not change it citing some BS from corporate. I want to build in something to fool XP so while a test it will go in to screen saver mode.

 

I’m using 2009

 

Thanks

0 Kudos
Message 1 of 7
(6,159 Views)

Software solutions are hard, my favorite "hardware" solution:

 

2954_drinkingbird_2.jpg.png

 

Otherwise google "Mouse Jiggler" for a simple USB device which you should keep in your pocket when the IT guys come snooping around.

Message 2 of 7
(6,154 Views)
Solution
Accepted by topic author dksys2000@yahoo.com

There's always the alternate "hardware" solution:

 

0 Kudos
Message 3 of 7
(6,141 Views)

It has to be done in software.

0 Kudos
Message 4 of 7
(6,126 Views)

dksys2000@yahoo.com wrote:

It has to be done in software.


If you have the privileges to install a software solution, you could just change the timeout.  Plus, IT people have ways of detecting such things, mess with them at your own peril.  LV methods of moving the mouse do not reset the screensaver clock.

 

Try playing In-A-Gadda-Da-Vida on the Windows Media player with the setting to inhibit the screensaver during playback checked.

0 Kudos
Message 5 of 7
(6,112 Views)

I would use AutoIt.  You'll have to learn a bit of the syntax, but it's straight forward.  I'd think in an hour a person could probably have something put together in an hour even if they had to start from scratch.

 

On a side note I have autoit scripts for doing some of the repetative tasks in LabVIEW.

0 Kudos
Message 6 of 7
(6,095 Views)

Hi dksys2000@yahoo.com,

 

I found this, and was able to use post #6 to make a small VI for just what you want.

 

Note: It uses the SendKey.llb which is a library I did not write (can't remember exactly where I found it).

 

Have a great day,

 

Chris V

Applications Engineer
National Instruments
Message 7 of 7
(6,045 Views)