From aef8b709bf2ef9c46481217911c2b183d03d1027 Mon Sep 17 00:00:00 2001 From: BratPfanneTV <39345937+BratPfanneTV@users.noreply.github.com> Date: Wed, 17 Oct 2018 08:37:01 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0ba4bf9..de20662 100644 --- a/README.md +++ b/README.md @@ -11,16 +11,16 @@ the directory to the PATH-Environment-Variable. # Changelog -| v1 | v2 | v3 | -| --- | --- | --- | -| Added xPRINT.exe | Added cTIME.exe | Added READKEY.exe | -| Added MAKEANIMATION.exe | Added uTIME.exe | Added SLEEP.exe | -| Added ANIMATION.exe | | Added STARTINVISIBLE.exe | -| Added CURSORVISIBILITY.exe | | Removed CURSORVISIBILITY.exe | -| Added STRLEN.exe | | Removed CURSORPOS.exe | -| Added xCOLOR.exe | | Added CONSOLE.exe | -| Added PRINT.exe | | | -| Added CURSORPOS.exe | | | +| v1 | v2 | v3 | v4 | +| --- | --- | --- | --- | +| Added xPRINT.exe | Added cTIME.exe | Added READKEY.exe | Added CALCULATOR.exe | +| Added MAKEANIMATION.exe | Added uTIME.exe | Added SLEEP.exe | Added CALCULATOR-BASIC.exe | +| Added ANIMATION.exe | | Added STARTINVISIBLE.exe | Added CALCULATOR-CMD.exe | +| Added CURSORVISIBILITY.exe | | Removed CURSORVISIBILITY.exe | | +| Added STRLEN.exe | | Removed CURSORPOS.exe | | +| Added xCOLOR.exe | | Added CONSOLE.exe | | +| Added PRINT.exe | | | | +| Added CURSORPOS.exe | | | | # Documentation From b7c2d94b6a69ebb46e1ebaf69b864fa66c1ee272 Mon Sep 17 00:00:00 2001 From: BratPfanneTV <39345937+BratPfanneTV@users.noreply.github.com> Date: Wed, 17 Oct 2018 09:04:58 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 50 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index de20662..facb691 100644 --- a/README.md +++ b/README.md @@ -24,23 +24,33 @@ the directory to the PATH-Environment-Variable. # Documentation -| Command | Version Added | Syntax | Description | -| ---------------- | ------------- | ----------------------------------- | ----------- | -| ANIMATION | v1 | `ANIMATION ` | Plays an animation. **MS** specifies the amount of Milliseconds per Frame, and **ANIMATION** is just all the animation frames seperated by spaces.
Example:
ANIMATION 200 U u .. u
Will animate to:
U u .. u U u .. u U u .. u U u .. u U u .. u

To have your code continue while the animation is running, call it with `START /B` | -| CONSOLE | v3 | `CONSOLE cursorsize <0-100>` | Sets the cursor to the given size. Set to 0 to make it disappear. | -| | | `CONSOLE windowscroll ` | Scrolls the window to the given point, measured from the top left corner. | -| | | `CONSOLE windowsize ` | Resizes the window to the given width and height. | -| | | `CONSOLE clear` | Clears the window. | -| | | `CONSOLE get ` | Returns the current value of the settings *cursorsize*, *windowscroll* or *windowsize*. Also, you can get the current window *title* with it. | -| cTIME | v2 | `cTIME ` | Converts a Millisecond-Unix-Timestamp to human-readable time, ready to output. | -| MAKEANIMATION | v1 | `MAKEANIMATION [WORD]` | Outputs a valid animation value for the `ANIMATION` command.

Types:
`Rotate`:
`0 - / - \ \|`
`1 - ^ > V <`
`2 - + x`
`3 - p d b q`
`Range`:
Returns a set of numbers from 0 to the given number.
`Alphabet`:
Returns **n** letters of the alphabet. Maximum is 26.
`Appear`
Accepts the **WORD** Parameter, while a *0* for **Sub** is required. It makes the given word appear one letter at a time. | -| PRINT | v1 | `PRINT ` | Prints the **String**. Only difference to the built-in `echo` is that no newline is added at the end. | -| READKEY | v3 | `READKEY ` | Waits **MS** Milliseconds for a keypress, then returns 0. The returned number when a key is pressed consists of two values:
Example: `7068`
The *68* stands for the KeyCode of the pressed key, in this case *D*. The 7 at the beginning stands for the Modifier-buttons that were pressed:
`0 - None, 1 - Alt, 2 - Shift, 3 - Alt+Shift, 4 - Control, 5 - Control+Alt, 6 - Control+Shift, 7 - Control+Alt+Shift`.
These values can be extracted using *Division* and *Modulo*. | -| SLEEP | v3 | `SLEEP ` | Pauses the script for **MS** Milliseconds. | -| STARTINVISBLE | v3 | `STARTINVISIBLE