You can use Call Library Function Node
and make use of user32.dll functions.
- Drop Call Library Function Node to the block diagram, then right click>>Configure...
- Set user32.dll on Library name or path.
- For Function name, you can use one of below
- On Parameters tab, add parameters corresponds to the function that you chose based on the Syntax which you can find on the links above or Microsoft page.
Below is a sample VI which showcase the use of Call Library Function Node
set mouse cursor and then performs mouse click action.