LM Remote KeyMap features a command line utility. This utility allows you to send events or fake remote button press to LM Remote KeyMap on a local PC or a network PC if you use the Network Command Line Tool.
Those events will be handled like all the other events, and the fake remote button press will be handled like real remote button press and use the same profiles.
Local Command Line Utility
You'll find the LM Remote KeyMap Command Line Utility "LMRKMSend.exe" in the default installation directory of LM Remote KeyMap, typically it will be C:\Program Files\LM Gestion\LM Remote KeyMap\LMRKMSend.exe.
Send events
To use the command line utility to send events, you will use the /event argument at the command line, such as:
LMRKMSend.exe /event:MyEvent
This will send the "MyEvent" event to LM Remote KeyMap.
Tip: If your event does contain spaces, enclose it within quotes like this: LMRKMSend.exe /event:"My event". You can also include in quotes the path to the command line utility like this: "C:\Program Files\LM Gestion\LM Remote KeyMap\LMRKMSend.exe" /event:"My event".
To consume the event in LM Remote KeyMap open the LM Remote KeyMap main menu and go to "Customize computer events", then click on the "Add" button and choose "LM Remote KeyMap Command Line Event", type the name of your event (for instance if you use /event:MyEvent, the event name is MyEvent). You can now add all the actions you want for this event.
Send fake remote button press
To use the command line utility to send fake remote button press, you will use the /press argument at the command line, such as:
LMRKMSend.exe /press:VolumeUp
Tip: you can retreive button names for your remote by bringing the LM Remote KeyMap Live Trace Viewer (use the LM RKM taskbar notification icon) and press a button on your remote. The button name will be displayed in the trace.
Network Command Line Utility
Download the network command line utility and install it on a network PC (LM Remote KeyMap doesn't need to be installed on the network PC). Once installed you'll find the tool in "C:\Program Files\LM Gestion\LM Remote KeyMap Network Command Line\LMRKMNetSend.exe"
Usage is exactly the same as the local command line utility except that two arguments allows you to specify the LM Remote KeyMap PC you want to send event or remote button press to:
- /host argument : this is the host name or IP address of the PC you want to send events to
- /port argument : this is the port used by the LM Remote KeyMap REST Api. This port number is 56756
For instance :
LMRKMNetSend.exe /host:192.168.70.1 /port:56756 /event:MyEvent

