Skip to content

Commit 3ca5341

Browse files
committed
Update README.md
1 parent bc077e6 commit 3ca5341

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

Image/readme_screenshot.png

-6.14 KB
Loading

README.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
# UserInputMacro
2-
Execute macro for user input with Roslyn for Scripting(C#)
1+
# MacroRecoderCsScript
2+
macro recorder written by C# script with Roslyn for Scripting
33

44
## Feature
55

6-
* Execute macro script for user input
7-
Execute macro script writed by C#(with Roslyn for Scripting).
8-
Application support mouse and key input with macro script.
9-
10-
* Record macro script for user input
6+
* Record key and mouse macro
117
Record mouse and key input.
12-
Recorded input is writed to macro script.
8+
Recorded input is writed to macro with C# script.
9+
10+
* Execute Record key and mouse macro
11+
Execute macro script writed by C# script.
1312

1413
* Command line mode
1514
Execute macro script in command line.
@@ -20,18 +19,29 @@ In this mode, Application is not shown.
2019

2120

2221
(1) Record button. When this button pushed, Application record mouse and key input.
23-
(2) Play button. When this button pushed, Application play macro script.
22+
(2) Play button. When this button pushed, Application play macro.
2423
(3) Stop button. this button is enabled when Application record or play.
25-
When this button pushed in recording, stop recording and open file dialog and save user input to macro script.
26-
When this button pushed in playing macro script, cancel playing macro script.
27-
(4) File path of macro script.
28-
(5) Browse button. When this button pushed, Open file dialog and input file path of selected macro scirpt.
29-
(6) Error information. View expected error. For example, compile error for macro script.
24+
When this button pushed in recording, stop recording and open file dialog for saving macro to C# script.
25+
When this button pushed in playing macro, cancel playing macro.
26+
(4) File path of C# script.
27+
(5) Browse button. When this button pushed, Open file dialog and input file path of selected C# script.
28+
(6) Error information. View expected error. For example, compile error for C# script.
3029

3130
### Command line mode
3231

3332
```
34-
UserInputMacro -script=<script path>
33+
MacroRecoderCsScript -script=<script path>
34+
```
35+
36+
### Script Example
37+
38+
```cs
39+
await SetMousePos(100, 100); //set mouse coordinate to (100, 100)
40+
await Delay(100); //wait 100ms
41+
42+
//Left Click
43+
await PushLeftButton(100, 100);
44+
await PullLeftButton(100, 100);
3545
```
3646

3747
## Download
@@ -43,7 +53,7 @@ Under construction...
4353
## License
4454
[MIT License]
4555

46-
[latest release]: https://github.com/hukatama024e/UserInputMacro/releases
56+
[latest release]: https://github.com/hukatama024e/MacroRecoderCsScript/releases
4757
[Screen Shot]: Image/readme_screenshot.png
4858
[MIT License]: LICENSE
4959

0 commit comments

Comments
 (0)