Hi
I have the pair of TM MFD's and I'm using them with Elite Dangerous.
Everything works right from the sim, except that for just TWO instances, I need to use a macro to perform multiple keypresses.
The keys (that I've assigned within the game) are the numeric keypad numbers, the full stop / period and the enter.
I am using HIDMacros because I don't know LUA at all.
I just need to send the following two keyboard streams, but with a pause of about 20 - 50 ms between each 'key press'.
How can I do it?
Example:
Clear Comms window - where the comma represents the pause
NumPadFullStop, /, c, l, e, a, r, enter
Thanks for any advice.
Numeric Keypad full stop and macro timings?
Re: Numeric Keypad full stop and macro timings?
You may try Sleep function - you would need macro with script - see http://www.hidmacros.eu/scripting.php and look for Sleep and SendKeys (http://www.hidmacros.eu/scripting.php#keys)
Petr Medek
LUAmacros author
LUAmacros author
Re: Numeric Keypad full stop and macro timings?
Thanks, that's helpful, but how do I specifically specify keys on the numeric keypad
Re: Numeric Keypad full stop and macro timings?
Here https://github.com/me2d13/hidmacros/blo ... s.pas#L102 are the key names you should use in macro.
Something like HIDMacros.SendKeys "{NUM0}"
Something like HIDMacros.SendKeys "{NUM0}"
Petr Medek
LUAmacros author
LUAmacros author