Dart Script Language Support
Download DartScript for Windows : https://github.com/hellobytecodes/Language_DartScript
Creator
Salman Azaram — 18 years old, from Iran 🇮🇷, interested in programming, cybersecurity, and software development.
About Dart Script
Dart Script is a lightweight scripting language designed for keyboard automation and simple command sequences.
Dart Script files use the .ds extension. The extension also recognizes .drs files for compatibility.
Command Documentation
Basic Commands
TYPE <text> — Types text.
TIME <milliseconds> — Waits for the specified number of milliseconds.
COMMENT <text> — Adds a comment. The entire line is treated as a comment.
DEFAULT_DELAY <milliseconds> — Sets the default delay between commands.
REPEAT <number> — Starts a repeat block.
END — Ends a repeat block.
Modifier Keys
PRESS <key> — Presses a key or key combination, such as PRESS ctrl+c.
WINDOWS <key> — Uses the Windows key, such as WINDOWS r.
CONTROL <key> / CTRL <key> — Control-key combinations.
ALT <key> — Alt-key combinations.
SHIFT <key> — Shift-key combinations.
Simple Keys
ENTER, BACK, TAB, ESC, SPACE, DELETE, INSERT
Arrow Keys
UP, DOWN, LEFT, RIGHT
Navigation Keys
HOME, END, PAGEUP, PAGEDOWN
Special Keys
CAPS, PRTSC, PAUSE
Function Keys
F1 through F12
CTRL Shortcuts
CTRL_C, CTRL_V, CTRL_X, CTRL_A, CTRL_S, CTRL_Z, CTRL_Y, CTRL_F, CTRL_W, CTRL_T, CTRL_N, CTRL_P, CTRL_R, CTRL_E, CTRL_D, CTRL_G, CTRL_H, CTRL_K, CTRL_L
Examples
Open Command Prompt
WINDOWS r
TIME 500
TYPE cmd
ENTER
Repeat Commands
REPEAT 5
PRESS DOWN
TIME 100
END
Save a File
TYPE Hello World
ENTER
CTRL_S
TIME 500
TYPE myfile.txt
ENTER
Editor Features
- Syntax highlighting for Dart Script commands.
- Code completion and command descriptions.
REPEAT block completion.
- Diagnostics for unknown commands and invalid syntax.
- A play-button menu in the editor title for running Dart Script or the compiler.
- A dedicated Dart Script file icon for
.ds and .drs files.
Run Commands
The extension sends commands directly to the integrated terminal. It does not check whether the external runtime or compiler is installed.
For a file named script.ds:
DartScript.exe script.ds
or:
myexe script.ds script.exe
Icons
The extension uses icons/dart-script.png both as the extension Marketplace icon and as the language default icon for .ds/.drs files. No separate File Icon Theme selection is required when the active VS Code icon theme supports language mode icons.