Mouse click coordinates PMDG 737ngx FSX
Posted: 12 Jan 2015, 22:29
Hello,
I tried using this code (below) to click buttons on PMDG 737 ngx add-on in FSX (2d cockpit with pilot CDU frame open in right bottom corner of monitor), but it does not seem to work. I can change variable to "0" and the mouse will move to the assigned coordinate (example...the letter"T") above the button chosen as advertised. I cannot seem to get the button to "left click" when using the "1" variable. Any help would be great. Larry
HIDMacros.MouseClick 1202, 297, 1
I am using this information:
number saying what should be done at coordinates
0 - just move mouse pointer
1 - left click
2 - middle click
3 - right click
4 - left double click
5 - middle double click
6 - right double click
Mouse moves to correct location with this code. Pushing "T" button again will still not "left click" the button.
HIDMacros.MouseClick 1202, 297, 0
I tried using this code (below) to click buttons on PMDG 737 ngx add-on in FSX (2d cockpit with pilot CDU frame open in right bottom corner of monitor), but it does not seem to work. I can change variable to "0" and the mouse will move to the assigned coordinate (example...the letter"T") above the button chosen as advertised. I cannot seem to get the button to "left click" when using the "1" variable. Any help would be great. Larry
HIDMacros.MouseClick 1202, 297, 1
I am using this information:
number saying what should be done at coordinates
0 - just move mouse pointer
1 - left click
2 - middle click
3 - right click
4 - left double click
5 - middle double click
6 - right double click
Mouse moves to correct location with this code. Pushing "T" button again will still not "left click" the button.
HIDMacros.MouseClick 1202, 297, 0