• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads
Forums
Hot Key Assignment? - Printable Version

+- Forums (https://www.theblitz.club/message_boards)
+-- Forum: The Firing Line (https://www.theblitz.club/message_boards/forumdisplay.php?fid=1)
+--- Forum: Tiller Operational Campaigns (https://www.theblitz.club/message_boards/forumdisplay.php?fid=11)
+--- Thread: Hot Key Assignment? (/showthread.php?tid=63157)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: Hot Key Assignment? - The Real Rake - 01-02-2020

I've finally figured this out... smh

When I first installed and set up AHK, I copied the setup and the script to my OneDrive in order to install this to my laptop.  For some reason, the auto-hotkey exe file was looking for the script on OneDrive and not the one on my desktop.  Once I edited the script on the cloud, it started working.

Thanks again!


RE: Hot Key Assignment? - Green - 01-02-2020

(01-02-2020, 04:40 AM)The Real Rake Wrote: I've confirmed that it is not an issue of leaving a space between the lines.  I have all 4 of the other modern campaigns.  All of the exe files are as you have them named except for NGP; that file is NGPlain.exe.

I appreciate your help.

Rake

Try this.

PzC Hotkeys.zip


RE: Hot Key Assignment? - The Real Rake - 01-04-2020

(01-02-2020, 05:03 AM)Green Wrote:
(01-02-2020, 04:40 AM)The Real Rake Wrote: I've confirmed that it is not an issue of leaving a space between the lines.  I have all 4 of the other modern campaigns.  All of the exe files are as you have them named except for NGP; that file is NGPlain.exe.

I appreciate your help.

Rake

Try this.

PzC Hotkeys.zip

It's all working...  Thank you once again!


RE: Hot Key Assignment? - Green - 01-04-2020

(01-04-2020, 07:17 AM)The Real Rake Wrote: It's all working...  Thank you once again!

Yes, our posts crossed. Glad you sorted it out.


John


RE: Hot Key Assignment? - KAreil - 01-05-2020

Thanks a lot for this!
Just tried it and worked perfectly.

How did you come up with the shortcuts in the .ahk?
Can I use the ALT-key as well?

I'm thinking about changing the file to mirror the hotkeys of the PanzerBattles series to not get confused when switching games.


RE: Hot Key Assignment? - 76mm - 01-05-2020

(01-05-2020, 01:17 AM)KAreil Wrote: How did you come up with the shortcuts in the .ahk?
Can I use the ALT-key as well?

I'm thinking about changing the file to mirror the hotkeys of the PanzerBattles series to not get confused when switching games.

You can insert whatever hotkeys you want if they are not already used in the game.  You can probably do that as well with autohotkeys although you will need to figure out how.  

To use the Alt key AFAIK you just need to replace the ^ with ! (although I've never actually tried this, I use the Ctrl key).


RE: Hot Key Assignment? - Green - 01-05-2020

(01-05-2020, 01:17 AM)KAreil Wrote: Thanks a lot for this!
Just tried it and worked perfectly.

How did you come up with the shortcuts in the .ahk?
Can I use the ALT-key as well?

I'm thinking about changing the file to mirror the hotkeys of the PanzerBattles series to not get confused when switching games.

You could add come consistency between the PzC and PzB but it would be marginal.

For example because the T hotkey has different functions between the two games there is nothing you can do to change that. You could add a CTRL T hotkey to PzC but this would just give you two ways to enter Travel Mode. Not very useful. And since T and CTRL T hokeys are both used in PzB, you cannot change either.

It is a shame there is not some way to fix this as it causes me endless problems. I think the two games really should either have consistent hotkeys or allow users to create their own hotkey mappings. Virtually everyone who plays PzB also plays PzC, so having to remember two different sets of hotkeys while using an almost identical interface, is not ideal.


RE: Hot Key Assignment? - KAreil - 01-05-2020

(01-05-2020, 04:04 AM)76mm Wrote: You can insert whatever hotkeys you want if they are not already used in the game.  You can probably do that as well with autohotkeys although you will need to figure out how.  

To use the Alt key AFAIK you just need to replace the ^ with ! (although I've never actually tried this, I use the Ctrl key).

Thx.

Do you have a link for a proper documentation of the syntax?

Sorry if that was provided in the older pages and I missed it.


RE: Hot Key Assignment? - 76mm - 01-06-2020

AutoHotKey has pretty extensive documentation, which I've not really explored much:
https://www.autohotkey.com/docs/AutoHotkey.htm

Here is a description of how to remap keys (which should allow you to change existing hotkeys):
https://www.autohotkey.com/docs/misc/Remap.htm

There is also what appears to be a pretty active forum where you can go for help:
https://www.autohotkey.com/boards/

I just saw that there is something called "AHK Studio" which is a development environment for AutoHotKey, it might be worth exploring:
http://www.maestrith.com/ahk-studio/

Generally AHK is a very powerful tool that goes far beyond using for in-game hotkeys. Maybe someday I'll have time to explore it further.


RE: Hot Key Assignment? - Green - 01-06-2020

(01-06-2020, 11:07 AM)76mm Wrote: Here is a description of how to remap keys (which should allow you to change existing hotkeys):
https://www.autohotkey.com/docs/misc/Remap.htm
 
I was unaware the ability to remap keys. That could be very useful. As I understand it, this means you could actually create PzC hotkeys that are consistent with those in PzB. Of course there are a number of PzB hotkeys that have no corresponding menu item in PzC, but at least for those in common a consistent hotkey could assigned. Worth investigating I think. Thanks.