List of assigned key commands?

It would certainly help to be able to get a list of all key commands assigned in a module (and the artifacts to which they’re assigned), to help designers NOT to duplicate commands within the many features we may build).

After reading your post I started writing a utility program to list all key commands (real and virtual), because it seemed like something handy to have, but it crashed on the traits with embedded objects. Not gotten round to processing those yet. Not gotten all traits added yet either.

Wow! Thank you!!

Well, even with present challenges considered, I can’t fault you for the attempt!!! Press on, please, if you can!! It’d be a great tool!!

I have worked on it some (LOL) more today and here is a first attempt. I have tried it on a bunch of modules and it seems to function pretty well on them. This comes of course without any kind of warranty.

Windows: http://www.mediafire.com/download/auc92tgw0kzttr5/KeystrokeHelper.zip
Mac: http://www.mediafire.com/download/7u1tgkhz0kajkws/KeyStrokeHelperMac.zip

PS I have just noticed ChartWindow is not processed. It will be in the next update.

Joel can you pin this topic please! Very handy

From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of bdgza
Sent: Thursday, May 14, 2015 3:27 PM
To: messages@vassalengine.org
Subject: Re: [messages] [Feature Requests] List of assigned key commands?

I have worked on it some (LOL) more today and here is a first attempt. I
have tried it on a bunch of modules and it seems to function pretty well
on them. This comes of course without any kind of warranty.

Windows:
mediafire.com/download/auc92 … Helper.zip
Mac:
mediafire.com/download/7u1tg … perMac.zip

PS I have just noticed ChartWindow is not processed. It will be in the
next update.


Read this topic online here:
https://forum.vassalengine.org/t/list-of-assigned-key-commands/7650/4

Just saw this post and must chime in - I really hope this utility works as this problem has been driving me nuts. Thanks!!!

I still have to update it for the ChartWindow class.

Worked great on a few modules, but bombed on my DigDownDwarf module V1.3.

Ok. I will investigate.

Windows: http://www.mediafire.com/download/auc92tgw0kzttr5/KeystrokeHelper.zip
Mac: http://www.mediafire.com/download/7u1tgkhz0kajkws/KeyStrokeHelperMac.zip

v1.1:

  • added ChartWindow
  • added DoActionButton
  • ignore calcProp
  • now works correctly with DigDownDwarf module (no hotkey was set for ‘step’)

First off, thanks once again for doing this!!!

Now… I’ve downloaded it and I see it’s a separate .exe file within the .zip. So now I’m confused. I was expecting it to be a library or .jar file that would seamlessly integrate into the VASSAL app.

How does this integrate with VASSAL? Do I need to place the .exe in the root of the VASSAL directory? Do I need to run the .exe and magically it will enter the feature into VASSAL? (Yes, I am always leery about running an .exe without knowing what I’m expecting it to do!!)

How do I use it within the VASSAL editor? Let’s say I’m working on a module, and suddenly wonder if I’ve already assigned a certain keystroke already. What do I do to call up the list? How can I “search” the list? Will the app tell me if I try to enter an assigned keystroke that it is, in fact, already being used?

I need documentation! :slight_smile:

You can place it anywhere you like. You run the exe. It’s a separate program not written in java. Inside that program you can select a vmod file to open. It will read all key assignments from the module pieces defined.

Thanks for the clarification