Skip to content

Commit 5838d65

Browse files
committed
Update README
1 parent c550fd8 commit 5838d65

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
# DarkMsgBox
2+
> [!NOTE]
3+
> This is for ahk [v2-alpha.13+](https://www.autohotkey.com/docs/alpha/ChangeLog.htm#v2.1-alpha.13) users.
4+
> If you are using ahk v2.0.x, please [click here](https://github.com/nperovic/DarkMsgBox).
5+
26
![DarkMode_MsgBox](https://github.com/nperovic/DarkMsgBox/assets/122501303/cd0a25de-54fc-42e1-b0e1-56b373c5ce29)
37

48
![DarkMode_InputBox](https://github.com/nperovic/DarkMsgBox/assets/122501303/a986b964-f98f-4d5a-a44a-f79db4d94b07)
59

610
## How To Use
7-
### Basic
8-
```py
11+
### Include `Dark_MsgBox.ahk`
12+
Learn more about `#Include`: [AHK Official Document](https://www.autohotkey.com/docs/alpha/lib/_Include.htm)
13+
```php
914
#Requires AutoHotkey v2
10-
#Include Dark_MsgBox_v2.ahk
15+
#Include <Dark_MsgBox>
16+
```
1117

18+
### Basic Uses
19+
```py
1220
IB := InputBox("Please enter a phone number.", "Phone Number", "w300 h200")
1321
if (IB.Result = "Cancel")
1422
MsgBox "You entered '" IB.Value "' but then cancelled.",, 0x1
@@ -19,9 +27,6 @@ else
1927
### Add Icon
2028
> It has to be `MsgBox.Call` for setting icons.
2129
```py
22-
#Requires AutoHotkey v2
23-
#include <Dark_MsgBox>
24-
2530
MsgBox.Call("123456", "Title", "CTC", "copilot.ico")
2631
```
2732
> For further details, please refer to the official document: [CLICK HERE](https://www.autohotkey.com/docs/v2/lib/MsgBox.htm)

0 commit comments

Comments
 (0)