LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW catch or detect a mouse event of another window program in background process?

As is in the title, I have to catch or detect a mouse click event. But the mouse event is not LabVIEW's one.

 

For example, I'd like to start measurement when a user clicks a mouse right button three times in another window program.

 

Of course, since I'm using not LabVIEW but another program, LabVIEW should be running in background process.

0 Kudos
Message 1 of 3
(2,349 Views)

Look at the Input Device Control VIs. You can create a simple loop that acquires mouse input information (caution: do not create a Greedy Loop). One of the outputs of that VI will tell you what buttons were pressed.

Message 2 of 3
(2,332 Views)

Thank you for your useful answer. I didn't know that LabVIEW is still working even when it is not  under spotlight.

 

I can settle my problem with your advice. ^.^

 

Good luck to you.

0 Kudos
Message 3 of 3
(2,312 Views)