To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI gives the cursor position of your mouse in any application, and shows which button is being pressed on the mouse.
Description
This VI will give you the cursor position of your mouse in any application, not just on the front panel of this particualr VI. It will also show which button is being pressed on the mouse, and the array of 3 button clicks can be expanded to 4 if the user has more mouse buttons. This VI uses several Call Library Function nodes to acquire the data from both the user's mouse and keyboard.
While the VI is running, the coordinates will appear on the front panel and the boolean indicators will light up when a mouse button is pressed. Also, when the user hits enter on the keyboard, a message box will appear.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
これらの操作した履歴をログとして保存するには、どうしたらよいですか?