LM Gestion

LM Remote KeyMap : Customize your remote

Download Free Version

LM Remote KeyMap come with a default profile for your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC remote and should work for many multimedia application. However it is recommended that you add a profile for each application you want to use with your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC remote.

Before reviewing how to add and edit an application profile, you need to understand how profiles are used. Each time you press a button on your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC remote, LM Remote KeyMap will search among all the profiles to find a matching profile and use it :

  • First LM Remote KeyMap will retreive the current active window (usually this is the Top Most active window) and retreive its window title, window class name and executable name. 
  • Then LM Remote KeyMap search for a profile that match :
    • the executable name
    • or the title and class name
    • or the class name
    • or the title
    • or use the default profile
  • If a matching profile is found LM Remote KeyMap will use it for each key that is assigned an action in this profile. If a key is not specifically assigned inside the matching profile LM Remote KeyMap use the key action of the default profile.

Also you can force a profile, in this case LM Remote KeyMap will not search for a profile but use the one you choose. For instance, you can make the "Red" button of the Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC Remote to launch your favorite PVR software and make LM Remote KeyMap switch to that PVR application profile. LM Remote KeyMap will use this profile until you switch LM Remote KeyMap to use the default profile (for instance when pressing on the "Power" button). This way whatever window is the active window, LM Remote KeyMap will use the same profile and can even bring automatically to foreground your PVR application if needed.

Adding / Removing a profile

To add a new remote profile, click on the "Add" button belwo the remote profiles list and either select "New blank profile" or "Profile from Online Database"

When you select "Profile from Online Database", you can search for profiles submitted by other users. The search screen opens and if this is the first time you open it, you'll be prompted to authenticate using your donator username and password. Once you are successfully authenticated you can type a keyword in the form and click on the "Search" button. The profiles that do match your query will be listed in the list, select the profile you want to use and click the "Add this profile to my profiles" link.

To remove an existing profile click on the "Remove" link.

If you want to share this profile with other LM Remote KeyMap users click on the "Share" link. Then fill in the upload form : type the application name and version as well as a description of your profile. As all differents profiles for an application are stored in the online database (that is you can have more than one profile for Media Center if the key mapping are not the same) you should tell in the description what is specific about your profile (for instance explain in few words what the "Menu" button will do).

Editing a profile

To edit a profile, select it in the application profiles list and click on the "Edit" link. This will open the profile editor.

Profile Definition

The first screen of the profile editor let you change the properties of the profile (the default profile properties cannot be changed):

  • Use the "Profile Name" field to give a name to your profile
  • Use the "Window Class" field to specify the window class name this profile should match. When LM Remote KeyMap is searching the profile to use it will get the active window class name and will try to match it to one of your profiles (with or without the window title name). You can leave this field blank if you only want to search by window title name or executable name.
  • Use the "Window Title" field to specify the window title this profile should match. When LM Remote KeyMap is searching the profile to use it will get the active window title and will try to match it to one of your profiles (with or without the window class name). You can leave this field blank if you only want to search by window class name or executable name.
  • Use the "Application Executable" filed to specify the exectuable this profile should match. When LM Remote KeyMap is searching the profile to use it will get the executable name for the active window (for instance notepad.exe) and will search a profile with this executable name. You can leave this field blank if you want to search with window title and / or class name.
  • Check the "Automatically put this application into focus...." if you want LM Remote KeyMap to bring the window corresponding to the window class name and / or window title name / and or executable to the foreground whenever you press one button on your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC Remote. This will only work if you are actually forcing a profile (by using the "Change Profile" action for one of your remote button).
  • Use the "Description" field to write down some notes about this profile to help you remember what this profile is supposed to do.

For instance, if you want to create a profile that will apply only to the Notepad application, type "Notepad" into the "Window Class" field.

You can also put the application corresponding to the profile to edit into focus and press the "Ctrl + Shift + R" on your keyboard, this will copy title, class name, exectuable name into LM Remote KeyMap.

Tip: You don't have to keep the three fields Executable, Windows Title, Window Class Name to target the right application. Only one of them is enough. If you don't know what to do, keep only the Application Executable field.

Click on the "Next >" button to change the remote buttons behavior, or click on the "Ok" button to save your changes without editing the remote buttons.

Buttons & Actions

Use the remote picture for assigning actions to each of your remote buttons. An action is what LM Remote KeyMap is supposed to do when you press a button on your remote. You can have more than one actions per key. You don't have to assign each button an action, in this case when a button doesn't have any action LM Remote KeyMap will use the action in the default profile.

For each button and in each profile you can type a (short) help string. This help string can be displayed on the OSD when you enter the help mode by using the "Help Mode" action.

To add an action to a remote button, click on the remote button in the picture (or select it in the drop down list, or press the button on your real remote) then click on the green "Add an Action" button in the actions list.

To remove an action, click on the red remove button located on the left of each action.

To change the settings of an action click on the tool button located on the right of each action.

To move up / down an action click on the arrow buttons located on the right of each movable action.

When you add an action you are presented whit a dialog containing all possible actions to add, you can choose among these actions :

  • Keystroke : this action will send keys to the active application.
  • Send Message : this action will send message (like : close / minimize etc...) to the active window or a window you searched for with the "FindWindow" action
  • Find Window : this action will search a window by its window class name and or window title (just like the profile), the window found will be used by the "Send Message" / "Application Command" and "Foreground" actions instead of the active window.
  • Change Volume : this action will let you change the master volume, either up or down (and you choose the increment) or absolutely. So you can say "up by 5%" or "down by 10%" or "set it to 50%".
  • Application Command : this action will send a AppCommand message to the active window (or the window found using FindWindow). AppCommand message are messages used by multimedia keyboards or MCE remote like "Play", "Pause", "Mute" etc...
  • Launch Application : this action will run the application of your choice
  • Pause : this action let you pause the action chain. One button can have more that one action, each action are fired the one after the other, with this action you can make a pause (for instance to wait for an application before firing the next action)
  • Display Menu : this action is for creating a menu. This menu will be displayed on top of any other window and you'll be able to navigate it by using the arrow buttons on the remote. When you select one entry in the menu it will then fire its associated actions.
  • Change Profile : this action will force LM Remote KeyMap to use a profile until you use this action again to revert to the default profile. This is useful if you have an application that cannot be found by window class name and / or window title : you just program a button to launch this application and switch to the corresponding profile and in this application profile program a button to close the application and switch to the default profile.
  • Switch Profile : this action force LM Remote KeyMap to switch to another profile for only the current button press. It will not lock the profile like the "Change Profile" action do.
  • Foreground : this action is for bringing up a window to the foreground either the active one or the window found by the FindWindow action.
  • MultiPress : this action is for telling LM Remote KeyMap to not fire the following actions but instead fire one of them depending on the number of times your are pressing the corresponding button. This is useful for numbers button : press one time on "2" to send "2", two time to send "A" etc...
  • Volume Mute : this action is for muting the master volume.
  • Play Sound : this action is for playing a wave file.
  • Shutdown : this action is for shutdown / suspend / hibernate or reboot your computer
  • Mouse : this action is for simulate mouse events (go up, down, left click etc...)
  • Mouse Mode : this action is for entering the default "Mouse mode". In this mode you'll be able to mouve your mouse with the arrow buttons and left click with the "Ok" button, right click with the "Menu" button. To quit the mouse mode click on the "Exit button". This feature is four our donators only
  • Press Key : this action is for simulating a key press (and only one key)
  • Wake On Lan : this action is for waking up a computer from Hibernate or Power Off (by broadcasting a magic packet on your LAN)
  • Application Activate : this is basically the same action as "Foreground" but should always work.
  • Key Down or Key Up : this action is for simulating a key down or a key up (for one key), you can use more than one KeyUp or KeyDown action to create keyboard shortcuts that doesn't work with the "Keystroke" action (don't forget to use a KeyUp for each KeyDown !)
  • Navigation Mode : this put the remote into navigation mode useful for switching throuhg windows of form fields (see below). This feature is four our donators only
  • Move Window : use this action to move the current active window or the one found by the FindWindow action
  • Blast : use this action to send an IR signal to an external IR device
  • Eject CD : this action allow you to open / close a CD tray.
  • If : this action allow you to create conditionnal branchs
  • Stop : this action allow you to stop execution the remaining actions in the action chain
  • Help Mode : this action put the remote into help mode. When active each button press will display the help text associated with the button (for the current application profile)
  • Screen Saver : this action allows you to turn on / turn off your screen saver, as well as disabling / enabling the screen saver. Note : LM RKM cannot turn off your screen saver if the screen saver is locking the desktop (LM RKM is disabled if the desktop is locked)
  • Monitor On / Off : this action allows you to turn on / turn off you monitor.
  • Close Application : this action let you close a running application (based on its executable path)
  • Maximize : this action let you maximize a window (either the current one or one found by "Find Window")
  • Minimize : this action let you minimize a window (either the current one or one found by "Find Window")
  • Restore : this action restore a window from a maximize or minimize state
  • HTTP Get : this action let you download HTML or XML content from a web server
  • Find Child Window : this action allows you to find a child window and use it as a target for other actions
  • Window Border : this action allows you to show or hide a window border
  • Press Key To : send a keyboard shortcut to a non focused window
  • Beep : an action to make your PC speaker beep (on 32 bits OS only)
  • Script : use the C# scripting engine to extend LM Remote KeyMap
  • Blast Raw : blast any IR codes to your IR devices not only the ones you alread learned
  • Screenshot : take a screenshot of your desktop or of a running application
  • Set Variable : define a global variable
  • Increment Variable : add / remove a numeric value from a numeric global variable

Once you have selected the action click on the "Ok" button to set up the action if needed, if no configuration is needed, you'll return to the actions list for the remote button currently selected.

Available Actions

This are all the actions you can use with LM Remote KeyMap.

Application Activate

This action will put a window found by the "Find Window" action into the foreground.

Application Command Action

The "Application Command" action simulate the keypress of a multimedia keyboard (or remote). You just choose the multimedia command to send. Note: the default profile already use the appropriate command for your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC Remote, so you should not have to use it (Also some multimedia program don't always support such command). The supported commands are :

  • BrowserBackward : obvioulsy should make your browser go back. But it may also works in other program with a different puprose (still it should go back somehow)
  • BrowserForward : the same as backward, but this time go forward.
  • MediaPlay : supposed to make the application play something
  • MediaPlayPause : a two state command, press once it plays, press again it pauses
  • MediaPause : supposed to pause whatever is playing
  • MediaStop : supposed to stop playback (or something else)
  • MediaRecord : supposed to start recording something
  • MediaFastForward : supposed to fast forward a playing media
  • MediaRewind : supposed to rewind a playing media
  • MediaNextTrack : supposed to go to the next item on a list
  • MediaPreviousTrack : supposed to go the previous item on a list
  • MediaChannelUp : supposed to change channel
  • MediaChannelDown : supposed to change channel
  • MediaVolumeUp : increase volume (either master or the active application)
  • MediaVolumeDown : decrease volume (either master or the active application)
  • MediaVolumeMute : mute volume (either master or the active application)
Beep Action

This action will make your PC speake beep. This only works on 32 bits OS (this is a Windows issue). You can select the tone and duration for the beep.

Blast Action

This action blast the IR code for the IR device and button selected through your IR blaster. You can use more than one "Blast" action for a remote button and separate each of them by a "Pause" action.

Note: you may have to add a "Pause" action before using the "Blast" action to avoid IR collisions: IR collision occurs when a device is busy discarding your PC remote IR code and cannot process the blasted IR code by the "Blast" action (the number of milliseconds to use for resolving collisions issues is dependent on your IR device, try a pause value of 30 ms up to 300 ms)

Blast Raw Action

The "Blast Raw Action" allows you to send IR codes for a LM Remote KeyMap IR devices. With this action you don't have to learn the IR codes, instead you can directly type the IR code into the configuration dialog or compute the IR code yourself and send it through a LM Remote KeyMap C# script.

Change Profile Action

The "Change Profile" action will force LM Remote KeyMap into the profile you choose in the "Profile" drop down list. When a profile is forced LM Remote KeyMap does not try to search for a profile matching the active window. Instead it will continue to use the actions assigned to the buttons for this profile until you use again the "Change Profile" action to change to the default profile.

So basically you will use this action before the "Launch Application" action, and again use it to close the application and switch to the default profile.

You can also use the "Automatically bring to foreground" option of the profile to automatically bring to foreground the window matching the profile, so if your application is loosing focus, LM Remote KeyMap will remedy the situtation.

Change Volume Action

The "Change Volume" action will change the master volume of your PC and display a volume OSD. You can choose among three options by using the radio buttons :

  • Set : this set the volume to an absolute value. Just type the value in the "Volume Value" field. The value you type must be an integer between 0 and 100. If you choose 50, the volume will be set to 50%. This is useful for setting the volume to an acceptable level (not awaking neighborood level ;)) prior to launch your favorite music application (and of course put the "Change Volume" action BEFORE the "Launch Application" action)
  • Increment : this increment the volume by the value you type in the "Volume Value" field. For instance if you choose "5", the volume will be increased by 5 points (if it was at 40%, it will be at 45%) so this is a linear volume change only
  • Decrement : the same as decrement instead it lower the volume.
Close Application Action

This action can close a running application. To select the application to close, type the executable name of the application, or click on the "Browse" button to locate the executable.

LM Remote KeyMap will then search for the first process corresponding to the executable and close it if it can.

If you don't want to close an application by its executable name, but instead close the application currently in focus, use either a Keystroke application with Alt + F4 (%{F4}) or a Send Message action with 16 as the message.

Display Menu Action

This action will display a menu when you press a button on your Streamzap PC Remote. To enable this feature you must be a donator and have installed the full version of LM Remote KeyMap.

After adding this action under a button. You must add some menu entries. Click on the "Add Menu Entry" button in the action box. This will add a new entry to your menu and display the menu entry dialog where you can:

  • Type the menu entry name in the "Name" fields. This name will be displayed in the menu
  • Choose an optional icon to be displayed in the menu next to its name (preferabily a PNG file)

Then add actions under the new menu entry, just like you would do for a button.

When you press a key that does have a DisplayMenu action. LM Remote KeyMap will first execute all actions before the DisplayMenu action and then display the onscreen menu (do not forget to choose a skin and to select the size and position of the menu). Also, all actions after the menu will not be executed at all.

When the menu is displayed it will not be closed until you close it by choosing one of its entry or by pressing the "Exit" button on your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC Remote or by pressing on the same key that first launched the menu (in this case no action will be take).

Navigate in the menu by using the Right / Left / Up / Down key on your Streamzap PC remote and click on the "Ok" button on your Streamzap, Firefly, Firefly Mini or Media Center (MCE) PC Remote when you have selected the right menu entry to execute. At this point LM Remote KeyMap will execute all actions under this menu entry.

Eject CD Action

This action allows you to open or close the CD door for the drive of you choice. Select the drive to use and wether the door should be opened or closed.

Find Window Action

The "Find Window" action will search for a window matching the window class name and/or window title you typed in the "Window Class" field, "Window Title" field or "Executable" field. You can leave either the "Window Class", "Window Title" or "Executable" field blank, so as to search only the window by its title or its class name.

The resulting window will be used by the "Send Message", "Application Command" and "Foreground" actions. The resulting window can only be used for the actions under the same button. So if you are using "Find Window" for the "1" button, the window found will only be availabe for this button and not the "2" button for instance.

Find Child Window

The "Find Child Window" work like the "Find Window" action, but will only search for child windows of the current focused window (or a previously "Find Window" window)

Foreground Action

This action brings the active window or the window found by the "Find Window" action to the foreground. You don't have anything to do to configure this action.

Help Mode Action

The "Help Mode" action put your remote into help mode. In this mode for each button press the associated help string for the button (you can edit the help string in the application profile editor) is displayed on the LM RKM OSD.

This way if you can't remember what a button is doing for an application: press on the button with the "Help Mode" action, and press on the button you want help for. The OSD will display the associated help string for the button in the current selected profile.

To exit the help mode press on the same button you used to enter the help mode.

HTTP Get Action

With this action you can request a Web page (or Xml document) through HTTP(S). In the configuration dialog you can type the URL for the page you want to request, as well as the username and password to use for the request.

Within the configuration dialog you can use the "Test" button to check that LM Remote KeyMap is able to download the requested content.

Use the "Wait for result before executing other actions" to wait for the document to be downloaded before executing the other actions that may follow the HTTP Get action.

The downloaded content can be tested with the "If" action. You can also store the HTML (or Text) content downloaded into the global variable of your choice (the variable will be typed as text)

Increment Variable Action

With this action you can add or remove a value from a numeric global variable. The variable should have been created with the "Set Variable" action.

If Action

This action allows you to execute actions if a condition is verified or not. When you add a "If" action, you have to choose the condition to evaluate. The available conditions are:

  • Is Running : to know if an application is running or not
  • Window Exists : to know if a window is displayed on the screen or not
  • Is Screen Saver Running : to know if the screen saver is currently running
  • Is Fully Resumed : to know if your PC is fully resumed or not (fully resumed meaning that the PC is turned on and has never gone to sleep, or that the PC was asleep but was resumed manually by the user)

Once you selected the condition and its optionnal arguments you'll be able to add actions under a "Then" node or a "Else" node within the actions list.

Actions located under the "Then" node will be executed if the condition is true. Actions located under the "Else" node will be executed if the condition is false. You don't have to put actions under both "Then" and "Else" node.

Key Down / Key Up Action

The "Key Down" or "Key Up" action simulate a key down or a key up. When you use a "Key Down" then a "Key Up" action for the same key, this simulate a full key press. You can use more that one "Key Down" and "Key Up" actions to simulate keyboard shortcuts that doesn't work with the "Keystroke" action (for instance : Ctrl + Alt + M). You just have to choose the right virtual key code in the drop down list. Also don't forget to use a "Key Up" action for each "Key Down" you use.

Keystroke action

The Keystroke action just send keys to the active window. Just type the keys you want to send in the "Keystroke" field. Each key is represented by one or more characters. To specify a single keyboard character, use the character itself. For example, to represent the letter A, pass in the string "A" in the field. To represent more than one character, append each additional character to the one preceding it. To represent the letters A, B, and C, specify the parameter as "ABC".

The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses () have special meanings. To specify one of these characters, enclose it within braces ({}). For example, to specify the plus sign, use "{+}". To specify brace characters, use "{{}" and "{}}". Brackets ([ ]) have no special meaning, but you must enclose them in braces.

To specify characters that aren't displayed when you press a key, such as ENTER or TAB, and keys that represent actions rather than characters, use the codes in the following table.


Key codes
Key Code Key Code Key Code
BackSpace {BKSP} Break {BREAK} Caps Lock {CAPSLOCK}
Delete {DEL} Down {DOWN} End {END}
Enter {ENTER} Escape {ESC} Help {HELP}
Home {HOME} Insert {INSERT} Left {LEFT}
Num Lock {NUMLOCK} Page Down {PGDN} Page Up {PGUP}
Print Screen {PRTSC} Righ {RIGHT} Scroll Lock {SCROLLLOCK}
Tab {TAB} Up {UP} F1,....,F16 {F1},....,{F16}
Add {ADD} Substract {SUBTRACT} Multiply {MULTIPLY}
Divide {DIVIDE}        

To specify keys combined with SHIFT, CTRL and ALT keys, precede the key code with one or more of the following code :

  • SHIFT : +
  • CRTL : ^
  • ALT : %

For instance if you want to send CTRL + X, use ^X. If you want to simulate more than one key pressed like SHIFT + E + C, then use +(EC).

Launch Application Action

This action will launch the program of your choice. Just type the path to your application in the "Application" field or click on the "Browse" button to browse your disk to find the application. You can also type the command line arguments if any in the "Arguments" field.

You can also choose the window type you want for the launched application : Normal, Minimized, Maximized or Hidden.

You can also check options to :

  • make sure the application will get focus when launched (may not work in all case see tips below)
  • wait for the application main window to be displayed before executing other actions (the actions that follow the "Launch Application" action for the same button)
  • wait for the application to exit before executing other actions
  • launch the application from the LM RKM Blaster Service (the application will not be visible on your desktop and will run under the account used by LM RKM Blaster Service : Local System by default)

Note: if an application doesn't get focus when launched, make sure that you selected the option "Ensure application got focus when started". If this still doesn't work you may have to select the "Wait for the application main window..." and use a "Pause" action, then a "Mouse" action to click on the window to be sure that the application will get focus (you can click the mouse anywhere as you'll usually do this for full screen applications)

Maximize / Minimize / Restore Actions

These actions allow you to maximize / minimize or restore to normal size a window. The window can be the current window or a window found by "Find Window".

Monitor On/Off action

The monitor On/Off action allows you to turn off your monitor.

Mouse Action

This action let you control your mouse pointer and simulate mouse click. Select the type of mouse event you want to simulate in the "Event Type" drop down list :

  • Move To : this will simply move the mouse pointer to the screen coordinate of your choice. Type the coordinate in the "Position (X,Y)" filed. Type the X postion followed by a comma, then the Y position of the mouse pointer. When this mouse action will be fired up, you'll see your mouse pointer move toward this position.
  • Go Up / Go Down / Go Left / Go Right : this will move your mouse pointer from its current position. Type the number of pixels you want the mouse pointer to move in the "Delta (pixels)" field (actually it's not pixels it's more a relative delta function of your mouse sensitivity).
  • Left Click / Right Click / Middle Click : perform a left, right or middle mouse button click (If you PC remote is fast enough you can even make double clicks).
Mouse Mode Action

This action will enter the PC Remote mouse mode. This mouse mode is specifically designed to reduce button clicks on the PC remote to move the mouse pointer.

When you press on the remote button linked to this action, LM Remote KeyMap enter mouse mode and will quickly display "Mouse On" on its Osd. All buttons on the remote are thus disabled except :

  • Left / Right / Up / Down buttons
  • Menu and Exit buttons
  • Ok button

Press on the arrow keys button to make the mouse pointer move. The more your press on an arrow button, the faster the mouse pointer will move. The mouse pointer only go straight up / down / left / right. It will never use diagonals. If the mouse pointer is going to the right, clicking on the left button will stop the mouse pointer, however clicking on the down button it will instantly goes down (at the lowest speed).

When your mouse pointer is moving : pressing on the "Ok" or "Menu" button on your PC remote will stop the mouse pointer. Then if you press the "Ok" button you'll simulate a left click, if you press on the "Menu" button you'll simulate a right click.

To end mouse mode, press on the "Exit" button on your PC remote. 

Move Window Action

This action allows you to move the current focused window or a window found by the "Found Window" action to the location of your choice.

MultiPress Action

The "MultiPress" action is an alternative to the "Display Menu" action. When you use it, it tells LM Remote KeyMap to not fire all actions that are after the MultiPress action, but instead to fire only once after a small delay (1s).

For example add four "Keystroke" actions to the "2" button after the Multipress action. The first one sends "2", the second sends "A", the third "B", the fourth "C". Then in the "MultiPress" "Key Names" field type "key 2,key a,key b,key c" : this will set up the names to be displayed in the OSD when you'll be pressing the button, separate each name for each key press by a coma.

So when you'll press the "2" button of your remote, the OSD will display "key 2" and it will vanish after 1 second and the key "2" will be send to your application. Press "2" again on your remote, the OSD displays "2", then quickly press again"2" on your remote, the OSD will change to "key a" and will vanish if you do not press any key on the remote and the key "a" will be send to your application.

Note: all actions after a "MultiPress" actions are supposed to be part of the "MultiPress" chain. So if the number of key names you type in the "Key Names" fields of the "MultiPress" action doesn't match the number of actions following the "MultiPress" action the extraneous actions will be skipped.

Navigation Mode Action

The "Navigation Mode" action put your remote into a navigation mode (just like "Mouse Mode"). In this mode only the following buttons are working :

  • Play button : if you press this button you'll enter the "Alt+Tab" feature of Windows. Press the "Play" button multiple times and when you finally selected the window you want to bring on top, press the "Ok" button on your remote
  • Ok button : it will either select the window to bring on top if you are in a "Alt+Tab" sequence or simulate the "Return" key
  • UpDown / Left / Right : simulate up / down / left / right keys of your keyboard
  • Skip Forward and Skip Backward buttons : simulate "Tab" and "Shift Tab"
  • Fast Forward and Rewind buttons : simulate "Ctrl Tab" and "Shift Ctrl Tab"
  • Menu button : display the windows start menu

To exit the navigation mode press on the "Exit" button on your remote or the button you used to enter the navigation mode.

None Action

Use this action in an application profile when you want a button to do nothing for a specific application (the "None" action ensure that the actions in the default profile will not be executed)

Pause Action

This action will make a pause (in milliseconds) in the action chain. Just type the number of milliseconds to wait before executing the next action for the button.

Note : All actions under a button are executed from top to bottom (in the tree). You can move the actions by using "Up" and "Down" buttons located on the right.

Play Sound Action

This action will play a wave file. You just have to select the sound to play by either typing its filename in the "Wave File" field or by browsing your computer disk by clicking on the "Browse" button.

Press Key Action

The "Press Key" action simulate a key press on your keyboard (one key pressed). This action is mainly intended for the Firefly Mini / MCE Remote to reduce the side effects of setting up a global keyboard hook. To simulate a key press, just choose the virtual key code in the drop down list.

Press Key To Action

With this action you should be able to send a single keystroke to a non focused window. Select the window to send the keystroke to by using the "Find Window" or "Find Child Window" action before using the "Press Key To" action.

Note: this action may not work at all. Usually for keyboard input to work correctly a window need to be focused, this is the way keyboard input works in Windows. 

Screen Saver Action

The "Screen Saver" action allows you to turn on or turn off your screen saver. You can also disable (or enable) your screen saver: when you screen saver is disabled it will not launch when your computer is idle for the predefined amount of idle time; this can be useful if some of your application don't disable themselves the screen saver.

Screenshot Action

This action will take a screenshot of your current desktop or of the focused windows (or a window found by "Find Window").

You can choose the file name used to save the screenshot (a PNG / JPG / GIF file). Wether this filename should be used for all screenshots (so the file will be overwritten) or if a new file should be created each time you take a screenshot.

If you have more than one display you can also choose to capture all your displays or only one.

Script Action

This action allows you to use C# code to extend LM Remote KeyMap. With the C# scripting engine you can use all .Net Framework features as well as native Win32 API.

Some features of LM Remote KeyMap can also be accessed through the C# scripts thanks to the LM Remote KeyMap Object Model

Send Message Action

The "Send Message" action sends the specified message to the current window (or the window found by using the "Find Window" action). Those messages are windows messages, so you need to type the Message, wParam and lParam (wParam and lParam are optionnal) in the corresponding fields.

Some Windows messages : WM_CLOSE = 16 / WM_KEYDOWN = 256 / WM_KEYUP = 257 / WM_CHAR = 258.

For instance if you want to send a message for closing an application, just use the WM_CLOSE message, so type "16" in the "Message" field, and 0 in both wParam and lParam field.

Set Variable Action

With the "Set Variable" action you can create a global variable. The global variable will be accessible through all LM Remote KeyMap action chains (wether the action chain is executed for a button press or an event)

Global variables can be used with the "If" action (to test for a basic condition), the "Show OSD" action (to display the content of a variable), the "Script" action (for advanced use), the "Increment Variable" action (to add / remove value from numeric variables)

Show OSD Action

This action allows you to display the LM RKM OSD with the message and icon of your choice. You can also choose to use a skin that is not the global skin you selected in the OSD options.

If you want you can choose to wait for the OSD window to be displayed before executing other actions. This can be useful if you use this action with the PC events (like LM RKM stopping).

You can also display the content of your global variables in the displaye text. Type the names of the variable to be displayed in the "Variables Names" field as a coma separated list. Then for the "Text to display" use the C# formatting options. For instance : "Variable Value = {0}" where 0 will be the the value of the first variable in the coma separated list given in the "Variables Names" field.

Shutdown Action

This action will either shutdown, supsend, hibernate or reboot your computer. Select the type of shutdown to do in the "Shutdown type" drop down list.

Stop Action

This action allows you to stop the actions following this one to be executed. This can be useful when used in a "If" action, especially if the "If" action is used for "All buttons" on your remote.

Switch Profile Action

This action will switch the application profile just like the "Change Profile" action, but only for the current pressed button. The switch occurs immediately and doesn't persist.

You can use this for recovering lost focus: For instance you typically use the "Green" button to launch your favorite media front end. So you add a "Launch Application" in the default profile for launching your front end. The "Green" button will also be used to go to the home menu of your front end. If your front end loose focus, you may want to recover focus by pressing the "Green" button again. You can do this by adding a "If" action for the "Green" button in the default profile with a "Is Running" condition : when the condition is false, you use the "Launch Application" action; if the condition is true, you use a "Find Window" action to find the front end window, then a "Application Activate" action to put the front end window into focus, then a "Switch Profile" action to switch the profile back to the front end, so as the action usually mapped to the "Green" button for the front end will be executed. 

Volume Mute Action

This action will mute or unmute your PC master volume and display the volume OSD.

Wake On Lan Action

This action will wake up a computer (another computer that the one that will fire this action) from Hibernation or Power Off (obviously you need a Wake On Lan (WOL) compliant network card and motherboard). To wake up a computer type the MAC address of the WOL network adapter of this computer (just type the hexa formatted string of your adapter without any separators, for instance : 0012d72a10ea).

"Wake On Lan" will broadcast a magic packet (on port 12287) and it should wake up your computer.

Window Border Action

This action allows you to show or hide a window border. The window can be the current focused window or a window found by the "Find Window" action.

This action can be used along with "Move Window" to put an application into a fake fullscreen mode. Though you must use "Window Border" before using "Move Window".



(c) 2008 LM Gestion