I'm providing this information for users who are not familiar with the G-Hotkey program - to help get you started I am providing a detailed description for using it with Tomb Raider - Legend. Each section is broken out based on the Notes feature of G-Hotkey so you can easily see how this is setup:

First I created a new profile titled: Tomb Raider and clicked on the Add Name to add it to the Current game list:. Next select Tomb Raider with your mouse and click on the Edit button.

For this first screen you will need to set a key for the Deactivate Hotkeys Key:. For this example I have chosen the key Z/z.

Next a Location needs to be specified where the .lnk file is located for Tomb Raider. If you click on the icon of the little document you can select this file. Usually you can find the .lnk file on your desktop. In the Select File dialog that is now open select the Desktop icon in the Look in: pull down box and select Tomb Raider - Legend Demo link file.

Next I am going to change the Load Time (secs): interval to 15 seconds since it takes about this much time for the game to load.

I don't like the dialog that displays: G-Hotkey is no longer active so I am going to check the Surpress Hotkeys Deactivation check box.

To enable and disable the functions of G-Hotkey while I'm in the game I'm going to set the On/Off Hotkeys Key: to Scroll Lock.

I'm going to set the Priority: level to High to ensure maximum response time while in the game. What is interesting is I'm noticing no performance loss in the game even though G-Hotkey is running at a high priority level.

Here is the section of the Notes for this game profile based on my notes above:
Quote:
Title: Tomb Raider; Load Time (secs): 15;
Deactivate Hotkeys Key: Z/z;
Location: C:\ Documents and Settings\Jesse\Desktop\Tomb Raider - Legend Demo.lnk;
Surpress Hotkeys Deactivation: 1; Global Hotkeys: ;
On/Off Hotkeys Key: Scroll Lock; Priority: High;



Finally move to the next tab at the top labeled Macros.

For the Macro 1 I have set the Keys: to: @wait(.5)eeeee

First this macro waits .5 seconds before it starts after the Page Up key is pressed. This presses the following keys in the game: eeeee. The Hotkey: for this macro is set to Page Up. Also I have set the Key Delay (ms): to 10 for the macro so it executes very fast.

Note: In the Tomb Raider game the Jump function is binded to the keys R Mouse/Space/Page Up and the Interact function is binded to the keys E/Num Enter. This macro is useful so that I can press the Page Up key which immediately makes my character jump and then the eeeee keys are pressed for Interact. This is convenient if after jumping the character is having problems hanging on to a ledge (in the game this is indicated by the yellow hand icon). The macro presses the key assigned to the Interact function so you do not have to manually do this in the game.

For the Macro 2 I have set the Keys: to: @key(spa)@wait(.5)eeeee@key(spa)

This presses the following keys in the game: <space bar>eeeee<space bar>. For special keys like the space bar you will need to look these up in the virtualkeycodes.ini file. An icon for this file is located in the G-Hotkey program group. The Hotkey: for this macro is set to End. Also I have set the Key Delay (ms): to 1 for the macro so it executes very fast.

Note: This macro is useful so that I can press the End key that immediately makes my character jump by pressing the space bar and then the eeeee keys are pressed for Interact. Finally the space bar is pressed again to have the character climb up a cliff automatically that she is hanging on to. This is convenient if after jumping the character is having problems hanging on to a ledge (in the game this is indicated by the yellow hand icon). The macro presses the key assigned to the Interact function so you do not have to manually do this in the game. In addition the character will automatically climb up without you having to press the jump key (space bar) again. Use this whenever you are performing a long jump. Keep in mind to release the End key from being held down otherwise the macro will repeat and this is undesired behaviour.

Here is the section of the Notes for this game profile based on my notes above:
Quote:
Hotkey: Page Up; Macro Keys: @wait(.5)eeeee;
Modifier: None; Key Delay (ms): 10;
Hotkey: End; Macro Keys: @key(spa)@wait(.5)eeeee@key(spa);
Modifier: None; Key Delay (ms): 1;


Now exit the G-Hotkey Editor and save your changes. This will bring you back to the main G-Hotkey screen. Select Tomb Raider and click on the Run button to load the Tomb Raider game.

You should now see before the game loads in your taskbar a green keyboard icon. This indicates that G-Hotkey is running (although G-Hotkey functions will not operate until 15 seconds).

If you move your mouse pointer over this icon you will see the following pop-up: To deactivate G-Hotkey make sure the Scroll Lock key is on and press the Z/z key.

I hope this helps get you started with using G-Hotkey in the game and the different ways in which it can be used.