(09-08-2013, 11:49 PM)76mm Wrote: Aaargh, I don't remember it being this complicated when I posted the last files. Try this link to my profile, with all three files:
(09-08-2013, 11:49 PM)76mm Wrote: Aaargh, I don't remember it being this complicated when I posted the last files. Try this link to my profile, with all three files:
(09-10-2013, 08:39 AM)tbridges Wrote: Hey 76... I'm having a hard time getting this going...can you email me, please?
Will do, but do you mean e-mail you the files, or instructions, or what?
To start the exe file just install it, and an icon should appear in your windows tray (bottom right in Windows 7). Then start any PzC game and try some of the hot-button combos to see if they work (Ctrl-H (Hide Units) is a good one to test with).
If the hotkeys don't seem to work, try Alt-Shifting a few times, for some reason sometimes the script turns itself off until you Alt-Shift.
(09-10-2013, 08:39 AM)tbridges Wrote: Hey 76... I'm having a hard time getting this going...can you email me, please?
Will do, but do you mean e-mail you the files, or instructions, or what?
To start the exe file just install it, and an icon should appear in your windows tray (bottom right in Windows 7). Then start any PzC game and try some of the hot-button combos to see if they work (Ctrl-H (Hide Units) is a good one to test with).
If the hotkeys don't seem to work, try Alt-Shifting a few times, for some reason sometimes the script turns itself off until you Alt-Shift.
OK, thanks, that worked. But if I have to use two keys ("Ctrl" and "H") its not much help for me. I need a hot key to be a single key.
I understand that the existing single hotkeys already hard-coded in the game cannot be overridden. However, it looks like a number of single keys are still available. For instance, the numbers #1 - #5 are in use but the numbers #6 - #0 are not. So how would I use one of those, say #6, to be a hotkey for "Save Movement Cost"?
09-11-2013, 01:45 PM, (This post was last modified: 09-11-2013, 01:46 PM by 76mm.)
(09-11-2013, 01:46 AM)tbridges Wrote: I understand that the existing single hotkeys already hard-coded in the game cannot be overridden. However, it looks like a number of single keys are still available. For instance, the numbers #1 - #5 are in use but the numbers #6 - #0 are not. So how would I use one of those, say #6, to be a hotkey for "Save Movement Cost"?
I think you should be able to do it, although I have not tried using a single key so cannot promise. Here is a sample line from file:
^e::Send !vm ; Ctrl+e - toggle Elevation Contours
the ^e on the left is the trigger, in this case Ctrl+e. So in your case I guess you would just use "6" (without quotation marks). Then include the "::Send" (without quotes) and then enter the keys required to trigger that action using the menus. The ! means Alt, which activates the PzC menu and allows you to use key presses to select menu items, so you need !cs (for Alt + c [for Command menu] + s [for save movement costs]. So altogether you would need: 6:::Send !cs
OK, I've already tested it, it works; here is it in ahk (ie, txt) format and exe. Hotkey for save movement costs is 6.