LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create keyboard click programmatically?

Hi All,

 

I need to move the cursor to curtain location and create a keyboard click programmatically.  How to do it?

 

Thanks a lot for any help.

 

 

Anne Zuo

0 Kudos
Message 1 of 6
(3,443 Views)

Anne Zuo,

 

Are you trying to move the cursor inside a LabVIEW program or inside another application?  Also did you mean to type "mouse click" instead of "keyboard click"?  Regards, -SS



Message 2 of 6
(3,434 Views)

Anne,

 

the attached example (8.0) contains both the mouse move/click code and the keyboard event code.

You might want to check out the quoted URL on the block diagram to get information about the different key IDs.

Right now it is set to x30 which is equal to a '0'

 

Thanks,

ThSa

Message 3 of 6
(3,407 Views)

Very cool VI.

 

I could have a few uses for this......

 

Thanks from a neutral observer.....:smileyhappy:

 

Shane.

0 Kudos
Message 4 of 6
(3,400 Views)

Hi Anne Zuo,

 

You need to see this link. I think this exactly does what you intend to do...

- Partha ( CLD until Oct 2024 🙂 )
Message 5 of 6
(3,365 Views)

I got it. Thank you all.   Smiley Happy

 

 

Anne Zuo

0 Kudos
Message 6 of 6
(3,319 Views)