# Triggering GKC's on main map from another map

**URL:** <https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023>\
**Category:** Module Design\
**Created:** [March 31, 2026, 1:22pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023 "2026-03-31T13:22:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodzilla68](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/rodzilla68/32/6844_2.png) [@Rodzilla68](https://forum.vassalengine.org/u/Rodzilla68)\
**Post date:** [March 31, 2026, 1:22pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/1 "2026-03-31T13:22:46Z")

</div>

I currently have a multi-action on the main map that “deletes moved” and 3 GKC’s defined on that map for the purposes of end of turn cleanup. It works fine. However, I want to have that function triggered from another map. I tried calling that multi-action but nothing. I created a multi-purpose action on the second map but nothing happens when I click the button. For example, “Delete Moved” is the command on the main map to delete the moved markers. I put Delete Moved as one of the actions on the other map. How do I give that button context? Was hoping the “global” meant it knew that.

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [March 31, 2026, 1:32pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/2 "2026-03-31T13:32:17Z")

</div>

> [@Rodzilla68](#):
>
> I created a multi-purpose action on the second map but nothing happens when I click the button.

It’s hard to visualize what you’re doing without accompanying screenshots or the module work-in-progress available, but it _sounds_ like you’re trying a Multi-Action Button in one map window, but entering the button text of something on a _different_ map window. There’s nothing about the Multi-Action Button documentation that suggests to me it’s capable of “seeing” button texts from another map.

You could try a simple toolbar GKC, unticking the box for “Apply to counters on this map only”:

 ![MapGlobalKeyCommand](https://forum.vassalengine.org/uploads/default/original/2X/b/b38dd6836467da39193fc9bb407ffe4de4eb1ddb.png)  
Just send the key command for the “Delete Moved” function you want to execute.

---

<div class="post-metadata">

**Author:** ![Rodzilla68](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/rodzilla68/32/6844_2.png) [@Rodzilla68](https://forum.vassalengine.org/u/Rodzilla68)\
**Post date:** [March 31, 2026, 1:53pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/3 "2026-03-31T13:53:28Z")

</div>

![Screenshot 2026-03-31 050517](https://forum.vassalengine.org/uploads/default/original/2X/b/b342239f6e59e1fb5c1408d90102262fcd5c0936.png)

This is the multi-action button on the main map. “Delete Moved” represents this:

 ![Screenshot 2026-03-31 065258](https://forum.vassalengine.org/uploads/default/original/2X/2/24cf73d3338c895a5f6f7a14e9085e35e1f3a18a.png)

---

<div class="post-metadata">

**Author:** ![Rodzilla68](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/rodzilla68/32/6844_2.png) [@Rodzilla68](https://forum.vassalengine.org/u/Rodzilla68)\
**Post date:** [March 31, 2026, 1:55pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/4 "2026-03-31T13:55:21Z")

</div>

Here is the Delete Finished GKC:

 ![Screenshot 2026-03-31 065455](https://forum.vassalengine.org/uploads/default/original/2X/5/5d7b5ce669a00ca9a0332d9d86af995f01e247e1.png)

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [March 31, 2026, 2:32pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/5 "2026-03-31T14:32:26Z")

</div>

OK, now I see what you’re attempting. You want to invoke the Map Window config’s “mark everything moved” feature. You currently have no hotkey assigned for this:

 ![image](https://forum.vassalengine.org/uploads/default/original/2X/4/4349702f2f51bb180dcb5fe40dbea7098ff52bc9.png)

I’d assign some alphanumeric string here as a Named Command. Perhaps it works for Named Commands to have spaces in them like you’re using in the hotkey for “Delete Finished”, I never do that out of habit but maybe it’s fine.

Now on the **other** map from which you want to trigger this, add a standard Action Button and use its “Send hotkeys” feature:

 ![image](https://forum.vassalengine.org/uploads/default/original/2X/8/822c6f930b43d376841c6aa258a6aa6a4493af01.png)

Whatever Named Command you settle on, it should be entered the same in both places I circled in red.

---

<div class="post-metadata">

**Author:** ![Rodzilla68](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/rodzilla68/32/6844_2.png) [@Rodzilla68](https://forum.vassalengine.org/u/Rodzilla68)\
**Post date:** [March 31, 2026, 2:43pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/6 "2026-03-31T14:43:11Z")

</div>

Yeah, that did it. I think the difference is the multi-action button is looking for menu items and the action button is working off hotkeys which are more global? Here is what the button looks like and it triggers all of the actions on the main map properly:

 ![Screenshot 2026-03-31 074150](https://forum.vassalengine.org/uploads/default/original/2X/a/a4f666c3e3b92e403d87d4c4ec208c6b66331d03.png)

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [March 31, 2026, 3:09pm UTC](https://forum.vassalengine.org/t/triggering-gkcs-on-main-map-from-another-map/90023/7 "2026-03-31T15:09:10Z")

</div>

> [@Rodzilla68](#):
>
> I think the difference is the multi-action button is looking for menu items and the action button is working off hotkeys which are more global?

Yes, a Multi-Action Button can only “consume” button texts on toolbar of the same map window in which you place it. But a hotkey is global in scope.
