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
Mouse click coordinates PMDG 737ngx FSX
Re: Mouse click coordinates PMDG 737ngx FSX
I can check later.
Did you try the same code (mouse click) in some simple windows application like notepad?
Did you try the same code (mouse click) in some simple windows application like notepad?
Petr Medek
LUAmacros author
LUAmacros author
Re: Mouse click coordinates PMDG 737ngx FSX
I tried this again one my other i7 computer and it works great! I am not sure what the problem was. It even works with 4 monitors. THis will be my solution for CDU display, thank you for your help. 
