Hi Tim,
You have come up against an existing limitation.
At the moment, Key commands generated by counters can only be sent to other (or
the same) counters. There is no way to send a Key Command to a Map or Module
level component.
One of the many ideas on my list of things to do one day is a Counter Trait
that allows you to send a specific Key Command to the Map and Module level
components. You could fire of this trait using Trigger Action. This will allow
you to fire off Module level Global Key Commands, or do things like open and
close Map windows or interact with other compenents that have Hot Keys defined.
The actual coding for this trait is tricky and I have asked Rodney for
assistance, hopefully I will hear back soon :) With any luck we can get it
happening in version 2.8, it should be pretty straight forward.
In the meantime, a workaround for your specific problem would be to change the
Module Level Global Key Command to be a Counter GKC trait on some Counter on a
Map somwehere. It could be the Turn counter for example, or an image-less
counter in an At-Start stack on a Map somwehere.
Hope this helps,
Cheers,
Brent.
>*********** REPLY SEPARATOR ***********
>
>On 14/08/2006 at 9:43 PM Tim Byrne wrote:
>I can't tell if this is a limitation or an error on my part. I have a
>card defined in a deck with a "Trigger Action" trait. The trigger action
>"Perform these keystrokes" includes "ALT-CTRL-SHIFT 6" among other
>keystrokes. When the trigger is activated, the other keystrokes appear to
>work but the "ALT-CTRL-SHIFT 6" does not.
>
>The other keystrokes happen to apply directly to the card. The
>"ALT-CTRL-SHIFT 6" should translate to a Global Key Command (who's parent
>in the editor is the main module node). When I press "ALT-CTRL-SHIFT 6"
>manually, the Global Key Command get activated. Is there some reason they
>can not be referred to by a Trigger Action?
>
>As a side question, is there a way to have a Global Key Command defined
>WITHOUT showing it on a toolbar?
>
>Cheers
>
>-Tim
>
>
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/