Mouse click coordinates PMDG 737ngx FSX

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
Larry
Posts: 19
Joined: 28 Feb 2013, 06:45

Mouse click coordinates PMDG 737ngx FSX

Post by Larry » 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

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Mouse click coordinates PMDG 737ngx FSX

Post by admin » 13 Jan 2015, 08:45

I can check later.
Did you try the same code (mouse click) in some simple windows application like notepad?
Petr Medek
LUAmacros author

Larry
Posts: 19
Joined: 28 Feb 2013, 06:45

Re: Mouse click coordinates PMDG 737ngx FSX

Post by Larry » 13 Jan 2015, 19:04

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. :D

Post Reply