Numeric Keypad full stop and macro timings?

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
Elphaba
Posts: 2
Joined: 02 Apr 2017, 04:35

Numeric Keypad full stop and macro timings?

Post by Elphaba » 02 Apr 2017, 04:39

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.

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

Re: Numeric Keypad full stop and macro timings?

Post by admin » 03 Apr 2017, 08:34

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

Elphaba
Posts: 2
Joined: 02 Apr 2017, 04:35

Re: Numeric Keypad full stop and macro timings?

Post by Elphaba » 03 Apr 2017, 09:15

Thanks, that's helpful, but how do I specifically specify keys on the numeric keypad

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

Re: Numeric Keypad full stop and macro timings?

Post by admin » 04 Apr 2017, 08:06

Here https://github.com/me2d13/hidmacros/blo ... s.pas#L102 are the key names you should use in macro.
Something like HIDMacros.SendKeys "{NUM0}"
Petr Medek
LUAmacros author

Post Reply