Shortcuts: create your own action buttons
Shortcut cards with your own buttons on the LemonScore controller: up to 5 actions per button, conditions, delays, a confirmation step and HTTP requests.
Shortcuts are your own buttons that run one or more actions with a single click, for example "Half-time": stop the clock, show the ads banner and start the music. The buttons sit on shortcut cards on the controller and also appear on the remote control, in the mobile app and on the Stream Deck.
The feature video shows it in about a minute.
Available from LemonScore Pro (also in the demo version). The Basic plan has no shortcuts.
Add a shortcut card
- Open Settings › Shortcuts.
- Click Add Card.
- Choose the Grid Size: 2x2 (4 shortcuts) or 3x3 (9 shortcuts).
- Click Add Card.
The card appears on the controller straight away. You can add up to 10 cards.
In the header of each card you change the card name directly in the field. Next to it are three icons: Show title on controller (Aa), Duplicate Card and Delete Card.
Set up a button
- Click an empty button (with +) on the card. The editor opens on the right.
- Under What it does, click Choose what this button does….
- Search for the action or filter by category, and click it.
- Fill in the action's details, for example the team.
- Under Look, adjust the label, Colour and Icon. LemonScore suggests them from the first action until you change them yourself.
There is no save button: LemonScore saves the button as soon as all details are complete. While something is missing, the editor shows Unfinished and a note about what is missing.
Drag buttons on the card to reorder them.
Actions
In the Choose an action dialog, each action says what it does. Actions marked Toggle switch between two states. The categories:
- Clock: start, stop, toggle or adjust the clock, switch the clock mode, set extra time, the match format or what the clock does at the end of a half.
- Score: score +1, -1 or set to a value.
- Penalty: start and stop penalties, goal, miss, undo the last penalty.
- Timer: start, stop and set the countdown timer, set or toggle the timer tones.
- Playlist: play a playlist or a single clip, pause and resume, stop, toggle the loop.
- Music: play, pause, toggle between play and pause, stop, next and previous track, play a music playlist.
- Animation: play or stop an animation, activate an animation set or switch between two sets.
- Banner: show, hide or toggle the ads banner.
- Display: blackout on, off or toggle.
- Layout: set a layout, switch between two layouts or go to the next layout.
- Brightness (Coex): change the LED wall brightness; needs a Coex controller.
- HTTP Request: call a web address, see below.
For Play Animation you choose the animation, the Team and a Player or Whole team. Custom animations of the active set are listed under Custom animations, see Animation editor.
Several actions, conditions and delays
A button runs up to 5 actions in order.
- Below the last action, click Add another action.
- Change the order in an action's … menu with Move up and Move down. Remove is there too.
- Expand Run options on an action to add conditions or a delay.
- Only when: the action only runs when the condition is true, for example Clock is running, Blackout is off, Music is stopped or Banner is visible. Add condition adds up to 3 conditions.
- All / Any: with several conditions, all of them must be true, or one is enough.
- Wait before running: a delay before this action, 0 to 30 seconds.
If a condition is not met, LemonScore skips only that action. The others still run.
Ask before running
Switch on Ask before running so a button can't run by accident. The controller first asks, for example "Execute Half-time?", and lists what the button does. It only runs after Execute.
A look for toggles
If a button contains a toggle, for example Start / Stop Clock or Toggle Blackout, Look has two tabs: Normal and When on.
- Click When on.
- Click Set a different look.
- Choose the label, Colour, Icon and Text for the on state. Copy from Normal copies the normal look as a starting point.
Without a separate look, the controller shows a toggle that is on with a ring, and one that is off dimmed.
HTTP request
Send HTTP Request controls other systems, for example lighting.
- Method: GET, POST, PUT, DELETE or PATCH.
- URL: the full address with
http://orhttps://. - Headers: Add Header adds a Key and Value.
- Body: the text that is sent (only for POST, PUT and PATCH).
- Timeout (seconds): 1 to 30, default 5.
Test and recent runs
- Click Test at the bottom of the editor. The button runs immediately and for real, including on the screen.
- Test result shows for each action whether it worked.
Recent runs below the cards lists the last 20 runs since LemonScore started, with the result (Completed, With errors, Failed, Cancelled) and where it came from (Desktop, Web remote, Mobile, Stream Deck, API or Test). This is where you find out why a button did nothing.
At the bottom of the editor you also find Clear button (bin icon) and Duplicate to next empty button.
Shortcuts on the controller
- A click runs the button. While it runs, it has a ring. With a delay, a bar fills at the bottom.
- Clicking again while it runs cancels the run and starts the button again from the beginning.
- If an action fails, a message with the reason appears and the button shows a !.
- If a button can't run right now, for example because a playlist was deleted, it is greyed out and shows a ?. A click tells you why; fix it under Settings › Shortcuts.
Good to know
- Check new buttons with Test before the match, not during it: the test really runs the actions.
- If a playlist, music playlist or layout is deleted, buttons that use it are no longer ready. Update them afterwards.
- Custom animations are only offered if they are in the active animation set.
Delete Card permanently removes all buttons on the card. This can't be undone.