Skip to content

Commit

Permalink
Correct readme
Browse files Browse the repository at this point in the history
  • Loading branch information
emoacht committed Jan 7, 2023
1 parent 37a2ed7 commit 51a4069
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ You can use command-line options to get/set the brightness or contrast.
| Set brightness of a specified monitor. | /set [Device Instance ID] [Brightness] |
| Set brightness of all monitors. | /set all [Brightness] |

The device instance ID is an unique identifier given by the OS to each monitor. It must be enclosed in quotes.

You can switch to contrast by inserting `contrast` after `/get` or `/set` (e.g. `/get contrast all`).

If this app is called with `/get` or `/set`, it will return
Expand All @@ -109,21 +111,19 @@ If this app is called with `/get` or `/set`, it will return
[Device Instance ID] [Monitor name] [Brightness] B
```

'B' at the end indicates brightness. In addition, '*' is added in the case of a selected monitor.
'B' at the end indicates brightness. In addition, '*' will be added in the case of a selected monitor.

If this app is call with `/get contrast` or `/set contrast`, it will return
If this app is called with `/get contrast` or `/set contrast`, it will return

```
[Device Instance ID] [Monitor name] [Contrast] C
```

'C' at the end indicates contrast. If contrast is not supported by a monitor, '-' will be shown instead.

The device instance ID is an unique identifier given by the OS to each monitor. It must be enclosed in quotes.

The brightness or contrast ranges from 0 to 100%. When you use `/set` option, it can be specified with the number itself (e.g. 20), increase (e.g. +10) or decrease (e.g. -10).

The options can be executed consecutively (e.g. `monitorian /get 20 /get contrast 20`).
The options can be executed consecutively (e.g. `monitorian /set 20 /set contrast 40`).

You can call this app by its name `Monitorian` in command prompt or bat file. From Task Scheduler, it can be performed by the path to its alias `%LOCALAPPDATA%\Microsoft\WindowsApps\Monitorian.exe`. For example, to increase brightness of all monitors by 30%, the Action will be the following:

Expand Down Expand Up @@ -180,7 +180,7 @@ In any case, reporting on the controllability of a monitor MUST include probe.lo
### Command-line arguments

- As part of testing, you can store persistent arguments in `Command-line arguments` in the hidden menu. They will be tested along with current arguments when this app starts.
- For example, if you want to fix this app's language to English (default), set `/lang en` in this box.
- For example, if you want this app to always use English language (default), set `/lang en` in this box.

### Exceptions

Expand Down

0 comments on commit 51a4069

Please sign in to comment.