Using Shortcuts
Automate repetitive menu tasks by recording and replaying your clicks.
The Shortcut Module is a powerful quality-of-life tool for map creators. It allows you to record a sequence of clicks within the /editmap menus and save it as a "Shortcut." You can then execute this shortcut to automatically replay the entire sequence, saving you time on repetitive tasks.
Manage your shortcuts in /editmap -> Shortcuts.
Creating a Shortcut
- Navigate to the Shortcuts menu.
- Click "Create Shortcut" and give it a name.
- This will take you to the Shortcut Edit Menu.
Recording Steps
This is where the magic happens. Recording a shortcut tracks your menu interactions.
- In the Shortcut Edit Menu, click the "Steps" item (Redstone).
- You will be prompted to start recording. The menu will close, and you will now be in Recording Mode.
- Navigate through the
/editmapmenus as you normally would. Every time you click on an item to open a new menu, that click is recorded as a step in your shortcut. - When you have finished the sequence, simply close your inventory (press 'E').
- Your steps are now saved to the shortcut. You will see the number of recorded steps updated in the Shortcut Edit Menu.
Executing a Shortcut
Once a shortcut is recorded, executing it is simple:
- Go to the Shortcuts menu.
- Find the shortcut you want to run.
- Right-click the shortcut's icon.
- Game Maker will automatically perform the recorded sequence of clicks, navigating through the menus for you.
Configuration
In the Shortcut Edit Menu, you can also configure:
- Name, Description, Icon: For organization.
- Close After Use: If
true, your inventory will be closed automatically after the shortcut finishes executing.
Use Case: Imagine you frequently need to edit the actions of a function located deep within a folder structure (Functions -> MyLogic -> RoundSetup -> Timers -> StartTimer). Instead of clicking through five menus every time, you can record this navigation sequence once as a shortcut named "Edit StartTimer". Executing it will then take you directly to the action editor for that function in a single click.