Page 1 of 1

List of assigned key commands?

PostPosted: April 10th, 2015, 8:07 pm
by Stiglr
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).

Re: List of assigned key commands?

PostPosted: May 13th, 2015, 6:31 pm
by bdgza
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.

Image

Re: List of assigned key commands?

PostPosted: May 14th, 2015, 12:19 am
by Stiglr
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!!

Re: List of assigned key commands?

PostPosted: May 14th, 2015, 8:27 pm
by bdgza
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.

Re: List of assigned key commands?

PostPosted: May 14th, 2015, 10:43 pm
by Tim M
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:
http://www.mediafire.com/download/auc92 ... Helper.zip
Mac:
http://www.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:
viewtopic.php?p=48793#p48793

Re: List of assigned key commands?

PostPosted: September 15th, 2015, 3:57 am
by starfish
Just saw this post and must chime in - I really hope this utility works as this problem has been driving me nuts. Thanks!!!!

Re: List of assigned key commands?

PostPosted: September 15th, 2015, 2:34 pm
by bdgza
I still have to update it for the ChartWindow class.

Re: List of assigned key commands?

PostPosted: September 17th, 2015, 2:27 am
by starfish
Worked great on a few modules, but bombed on my DigDownDwarf module V1.3.

Re: List of assigned key commands?

PostPosted: September 19th, 2015, 7:51 am
by bdgza
starfish wrote:Worked great on a few modules, but bombed on my DigDownDwarf module V1.3.


Ok. I will investigate.

Re: List of assigned key commands?

PostPosted: September 28th, 2015, 7:53 pm
by bdgza
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')

Re: List of assigned key commands?

PostPosted: December 12th, 2015, 9:45 pm
by Stiglr
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! :)

Re: List of assigned key commands?

PostPosted: April 20th, 2016, 5:44 pm
by bdgza
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.

Re: List of assigned key commands?

PostPosted: April 23rd, 2016, 4:39 am
by Stiglr
Thanks for the clarification