ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mouse click event

Solved!
Go to solution

Hallo,

 

I would like to generate a mouse click for every 1 min.

 

my application is, i need to press a take snapshot button every one min. i tries searching in the web for the particular VI, but im not successful. Please help me on this regard.

 

Regards

Parthiban

0 Kudos
Message 1 of 13
(3,889 Views)
Solution
Accepted by parthi1987
Message 2 of 13
(3,875 Views)

Thank you very much.. and it works fine.

 

 

0 Kudos
Message 3 of 13
(3,832 Views)

Hi Paul,

I wanted to ask if you might know how to programmatically generate a mouse event, like a left button down, at specific coordinates on the screen without physically moving the mouse. Alternatively, do you happen to know a method for generating a left button down event directly on a control on the front panel in LabVIEW?

Thanks in advance,
Max

0 Kudos
Message 4 of 13
(1,421 Views)

Alternatively, do you happen to know a method for generating a left button down event directly on a control on the front panel in LabVIEW?

 

What's your purpose for the event? 

What kind of control?  If the control is a button, you can use property node to generate a Boolean value change event.

 

George Zou
0 Kudos
Message 5 of 13
(1,412 Views)

Thanks, but I need to generate a mouse down event on a string control. Doing KeyFocus doesn't help me.

0 Kudos
Message 6 of 13
(1,411 Views)

So your purpose is make the strong control ready for keyboard input/paste?

KeyFocus should work.

If you show us your code, we can debug it for you.

 

George Zou
0 Kudos
Message 7 of 13
(1,404 Views)

maxnoder1995_0-1729537600408.png

Simple code. I have to use moues down event.
Is there a way I can make this functionality happen?

 

0 Kudos
Message 8 of 13
(1,392 Views)

I don't know why you choose move down event of the string control to initialize your code.

It might make your life a little easier if you go with the usual way.

if you only need initial once, add a sequence structure outside the loop.  Add your initial code in a frame before the loop.

 

George Zou
0 Kudos
Message 9 of 13
(1,381 Views)

I would like to know how to click on a certain location on the screen without moving the mouse.
This is the main functionality. Everything else doesn't matter to me.

0 Kudos
Message 10 of 13
(1,374 Views)