File tree 1 file changed +11
-6
lines changed 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# 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
+
2
6
![ DarkMode_MsgBox] ( https://github.com/nperovic/DarkMsgBox/assets/122501303/cd0a25de-54fc-42e1-b0e1-56b373c5ce29 )
3
7
4
8
![ DarkMode_InputBox] ( https://github.com/nperovic/DarkMsgBox/assets/122501303/a986b964-f98f-4d5a-a44a-f79db4d94b07 )
5
9
6
10
## 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
9
14
#Requires AutoHotkey v2
10
- # Include Dark_MsgBox_v2.ahk
15
+ #Include <Dark _MsgBox >
16
+ ```
11
17
18
+ ### Basic Uses
19
+ ``` py
12
20
IB := InputBox(" Please enter a phone number." , " Phone Number" , " w300 h200" )
13
21
if (IB .Result = " Cancel" )
14
22
MsgBox " You entered '" IB .Value " ' but then cancelled." ,, 0x 1
19
27
### Add Icon
20
28
> It has to be ` MsgBox.Call ` for setting icons.
21
29
``` py
22
- # Requires AutoHotkey v2
23
- # include <Dark_MsgBox>
24
-
25
30
MsgBox.Call(" 123456" , " Title" , " CTC" , " copilot.ico" )
26
31
```
27
32
> For further details, please refer to the official document: [ CLICK HERE] ( https://www.autohotkey.com/docs/v2/lib/MsgBox.htm )
You can’t perform that action at this time.
0 commit comments