-
Notifications
You must be signed in to change notification settings - Fork 9
Script Usage Guide
YANG SHU edited this page Nov 30, 2025
·
1 revision
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
| Item | Description |
|---|---|
| Function | Pause script execution |
| Syntax | DELAY <milliseconds> |
| Parameter |
<milliseconds>: Number of ms to wait |
| Example | DELAY 500 |
| Item | Description |
|---|---|
| Function | Types text as keyboard input |
| Syntax | STRING <text> |
| Parameter |
<text>: Any UTF-8 string |
| Example | STRING this is a test |
| Item | Description |
|---|---|
| Function | Repeat the previous script line n times |
| Syntax | REPEAT <n> |
| Parameter |
<n>: Integer > 0 |
| Example |
LMOUSEThis results in two left-clicks. |
| 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) |
| Command | Action |
|---|---|
LMOUSE |
Left mouse click |
MMOUSE |
Middle mouse click |
RMOUSE |
Right mouse click |
| Item | Description |
|---|---|
| Function | Switch to a specific profile |
| Syntax | GOTO_PROFILE <id> |
| Parameter |
<id>: Profile index (integer) |
| Example | GOTO_PROFILE 5 |
| Command | Action |
|---|---|
PREV_PROFILE |
Switch to previous profile |
NEXT_PROFILE |
Switch to next profile |
| 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 |
Below are all supported special key keywords.
| Key |
|---|
| CONTROL |
| SHIFT |
| ALT |
| WINDOWS |
| COMMAND |
| OPTION |
| Key |
|---|
| ESC |
| ENTER |
| UP / DOWN / LEFT / RIGHT |
| SPACE |
| BACKSPACE |
| TAB |
| CAPLOCKS |
| INSERT |
| DELETE |
| HOME |
| END |
| PAGEUP |
| PAGEDOWN |
| Key |
|---|
| PRINTSCREEN |
| SCROLLLOCK |
| PAUSE |
| BREAK |
| MENU |
| POWER |
| Keys |
|---|
| F1 ~ F12 |
| Command | Description |
|---|---|
| VOLUP | Increase volume |
| VOLDOWN | Decrease volume |
| MUTE | Mute audio |
| PREV | Previous track |
| NEXT | Next track |
| PP | Play/Pause |
| STOP | Stop media |
| Keys |
|---|
| NUMLOCK |
| KP_SLASH |
| KP_ASTERISK |
| KP_MINUS |
| KP_PLUS |
| KP_ENTER |
| KP_DOT |
| KP_EQUAL |
| KP_0 ~ KP_9 |
| Function | Script |
|---|---|
| Copy | CONTROL c |
| Paste | CONTROL v |
| Task Manager | CONTROL SHIFT ESC |
| Windows Screenshot | WINDOWS SHIFT s |
| Open Run Dialog | WINDOWS r |
WINDOWS r
DELAY 500
STRING www.example.com
ENTER
LMOUSE
REPEAT 1
MOUSE_MOVE 10 0