Create account / Log in

List of assigned key commands?

Suggestions for additional features for the module editor and Vassal engine.

Moderators: Tim M, uckelman

List of assigned key commands?

Postby Stiglr » April 10th, 2015, 8:07 pm

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).
Stiglr
 
Posts: 192
Joined: June 28th, 2014, 12:06 am

Re: List of assigned key commands?

Postby bdgza » May 13th, 2015, 6:31 pm

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
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby Stiglr » May 14th, 2015, 12:19 am

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!!
Stiglr
 
Posts: 192
Joined: June 28th, 2014, 12:06 am

Re: List of assigned key commands?

Postby bdgza » May 14th, 2015, 8:27 pm

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.
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby Tim M » May 14th, 2015, 10:43 pm

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
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1777
Joined: December 8th, 2007, 12:22 pm
Location: Earth

Re: List of assigned key commands?

Postby starfish » September 15th, 2015, 3:57 am

Just saw this post and must chime in - I really hope this utility works as this problem has been driving me nuts. Thanks!!!!
starfish
 
Posts: 26
Joined: April 13th, 2013, 6:25 pm

Re: List of assigned key commands?

Postby bdgza » September 15th, 2015, 2:34 pm

I still have to update it for the ChartWindow class.
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby starfish » September 17th, 2015, 2:27 am

Worked great on a few modules, but bombed on my DigDownDwarf module V1.3.
starfish
 
Posts: 26
Joined: April 13th, 2013, 6:25 pm

Re: List of assigned key commands?

Postby bdgza » September 19th, 2015, 7:51 am

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


Ok. I will investigate.
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby bdgza » September 28th, 2015, 7:53 pm

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')
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby Stiglr » December 12th, 2015, 9:45 pm

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! :)
Stiglr
 
Posts: 192
Joined: June 28th, 2014, 12:06 am

Re: List of assigned key commands?

Postby bdgza » April 20th, 2016, 5:44 pm

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.
bdgza
 
Posts: 286
Joined: February 26th, 2010, 10:51 am

Re: List of assigned key commands?

Postby Stiglr » April 23rd, 2016, 4:39 am

Thanks for the clarification
Stiglr
 
Posts: 192
Joined: June 28th, 2014, 12:06 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests