How to create a toggle?

For example, if I press [shift], [1] will be inputted but when I press [shift] again, [2] will get inputted instead and it’ll keep alternating back and forth. Is it possible on Maestro? Thanks in advance.

You could do something like this:

Thank you!

Ok, the toggle works in the browser, however, I want the toggle to also work in a game called “Moomoo.io”. Basically, whenever I press [Shift], it’ll switch between two weapons in which their hotkeys are 1 and 2. Is there any way for the toggle to be able to type in the numbers instead of copy and paste?

You'll need to assign another key to go with [Shift], like SHIFT-Z, as the macro trigger.

Then use a Insert Text by Typing action (KM Wiki):

Thanks

Here's a complete setup for you.

###1. Create a Macro Group Like This

###2. Put this Macro in that Group

##Macro Library   Toggle Weapons 1 & 2 [Moo Moo]


####DOWNLOAD:
<a class="attachment" href="/uploads/default/original/2X/8/8d94c8cad7aec2b8fb0fb54e174f47fc5572d8c5.kmmacros">Toggle Weapons 1 & 2 [Moo Moo].kmmacros</a> (3.6 KB)
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**

---


<img src="/uploads/default/original/2X/3/34b4dc2e2fcc1a563abe7a5ea44986b99d03dd5b.png" width="458" height="867">

Let us know if this works for you.

Hm, still not working in-game, but still works in the browser. Don’t worry about it, I can just press 1 and 2 manually to switch the weapons.

Is the game run in a browser, or from an app you download?

It is run in a browser, the site is called “Moomoo.io”, you’ll have to advance in the game a bit before testing the toggle. (which you probably don’t want to do) I can make a video demonstrating if you don’t want to test it.