SkillAgentSearch skills...

MacroRecoderCsScript

Macro recorder written by C# script with Roslyn for Scripting

Install / Use

/learn @hukatama024e/MacroRecoderCsScript
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MacroRecoderCsScript

macro recorder written by C# script with Roslyn for Scripting

Feature

  • Record key and mouse macro Record mouse and key input. Recorded input is writed to macro with C# script.

  • Execute Record key and mouse macro Execute macro script writed by C# script.

  • Command line mode Execute macro script in command line. In this mode, Application is not shown.

Usage

Screen Shot

(1) Record button. When this button pushed, Application record mouse and key input.
(2) Play button. When this button pushed, Application play macro.
(3) Stop button. this button is enabled when Application record or play.
When this button pushed in recording, stop recording and open file dialog for saving macro to C# script.
When this button pushed in playing macro, cancel playing macro.
(4) File path of C# script.
(5) Browse button. When this button pushed, Open file dialog and input file path of selected C# script.
(6) Error information. View expected error. For example, compile error for C# script.

Command line mode

MacroRecoderCsScript -script=<script path>

Script Example

await SetMousePos(100, 100);  //set mouse coordinate to (100, 100)
await Delay(100);             //wait 100ms

//Left Click
await PushLeftButton(100, 100);
await PullLeftButton(100, 100);

Download

Download the latest release.

Reference

See Macro Reference.

License

MIT License

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated3mo ago
Forks13

Languages

C#

Security Score

92/100

Audited on Dec 27, 2025

No findings