Skip to content

Script Usage Guide

YANG SHU edited this page Nov 30, 2025 · 1 revision

1. Overview

The EezBotFun Macro Pad allows each key to run a script that simulates keyboard and mouse actions. Example:

WINDOWS r
DELAY 500
STRING www.itsmartreach.com
ENTER

2. Supported Script Commands

2.1 DELAY

Item Description
Function Pause script execution
Syntax DELAY <milliseconds>
Parameter <milliseconds>: Number of ms to wait
Example DELAY 500

2.2 STRING

Item Description
Function Types text as keyboard input
Syntax STRING <text>
Parameter <text>: Any UTF-8 string
Example STRING this is a test

2.3 REPEAT

Item Description
Function Repeat the previous script line n times
Syntax REPEAT <n>
Parameter <n>: Integer > 0
Example
LMOUSE
REPEAT 1
This results in two left-clicks.

2.4 MOUSE_MOVE

Item Description
Function Move mouse cursor
Syntax MOUSE_MOVE X Y
X Range -127 ~ 127 (negative = left, positive = right)
Y Range -127 ~ 127 (negative = up, positive = down)
Example MOUSE_MOVE 100 -20 (move right 100px, up 20px)

2.5 LMOUSE / MMOUSE / RMOUSE

Command Action
LMOUSE Left mouse click
MMOUSE Middle mouse click
RMOUSE Right mouse click

2.6 GOTO_PROFILE

Item Description
Function Switch to a specific profile
Syntax GOTO_PROFILE <id>
Parameter <id>: Profile index (integer)
Example GOTO_PROFILE 5

2.7 PREV_PROFILE / NEXT_PROFILE

Command Action
PREV_PROFILE Switch to previous profile
NEXT_PROFILE Switch to next profile

2.8 DEFAULTDURATION

Item Description
Function Set keypress duration for STRING output
Syntax DEFAULTDURATION <ms>
Default Value 30 ms
Note Values below 30 ms may be detected as “non-human input.”
Example DEFAULTDURATION 35

3. Special Function Keys

Below are all supported special key keywords.

3.1 Modifier Keys

Key
CONTROL
SHIFT
ALT
WINDOWS
COMMAND
OPTION

3.2 Navigation / Editing Keys

Key
ESC
ENTER
UP / DOWN / LEFT / RIGHT
SPACE
BACKSPACE
TAB
CAPLOCKS
INSERT
DELETE
HOME
END
PAGEUP
PAGEDOWN

3.3 System Keys

Key
PRINTSCREEN
SCROLLLOCK
PAUSE
BREAK
MENU
POWER

3.4 Function Keys

Keys
F1 ~ F12

3.5 Media Keys

Command Description
VOLUP Increase volume
VOLDOWN Decrease volume
MUTE Mute audio
PREV Previous track
NEXT Next track
PP Play/Pause
STOP Stop media

3.6 Numeric Keypad Keys

Keys
NUMLOCK
KP_SLASH
KP_ASTERISK
KP_MINUS
KP_PLUS
KP_ENTER
KP_DOT
KP_EQUAL
KP_0 ~ KP_9

4. Key Combination Examples

Function Script
Copy CONTROL c
Paste CONTROL v
Task Manager CONTROL SHIFT ESC
Windows Screenshot WINDOWS SHIFT s
Open Run Dialog WINDOWS r

5. Sample Scripts

Open Website

WINDOWS r
DELAY 500
STRING www.example.com
ENTER

Double Left-Click

LMOUSE
REPEAT 1

Move Mouse Slightly Right

MOUSE_MOVE 10 0