https://github.com/nperovic/darkmsgbox
Apply dark theme to your built-in MsgBox and InputBox.
https://github.com/nperovic/darkmsgbox
ahk ahk-library ahk-script ahk-scripts ahk2 ahkscript ahkv2 autohotkey autohotkey-script autohotkey-scripts autohotkey-v2 autohotkeyv2 inputbox messagebox msgbox
Last synced: about 2 months ago
JSON representation
Apply dark theme to your built-in MsgBox and InputBox.
- Host: GitHub
- URL: https://github.com/nperovic/darkmsgbox
- Owner: nperovic
- Created: 2024-06-16T01:58:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-16T03:28:50.000Z (11 months ago)
- Last Synced: 2025-02-02T03:27:53.466Z (4 months ago)
- Topics: ahk, ahk-library, ahk-script, ahk-scripts, ahk2, ahkscript, ahkv2, autohotkey, autohotkey-script, autohotkey-scripts, autohotkey-v2, autohotkeyv2, inputbox, messagebox, msgbox
- Language: AutoHotkey
- Homepage:
- Size: 18.6 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# DarkMsgBox
> [!NOTE]
> If you are using ahk [v2-alpha.13+](https://www.autohotkey.com/docs/alpha/ChangeLog.htm#v2.1-alpha.13), please [click here](https://github.com/nperovic/DarkMsgBox/tree/alpha). The alpha version supports [modules](https://www.autohotkey.com/docs/alpha/Modules.htm).

## How To Use
### Include `Dark_MsgBox.ahk`
Learn more about `#Include`: [AHK Official Document](https://www.autohotkey.com/docs/alpha/lib/_Include.htm)
```php
#Requires AutoHotkey v2
#Include
```### Basic Uses
```py
IB := InputBox("Please enter a phone number.", "Phone Number", "w300 h200")
if (IB.Result = "Cancel")
MsgBox "You entered '" IB.Value "' but then cancelled.",, 0x1
else
MsgBox "You entered '" IB.Value "'.", , 0x1
```### Add Icon
> It has to be `MsgBox.Call` for setting icons.
```py
MsgBox.Call("123456", "Title", "CTC", "copilot.ico")
```
> For further details, please refer to the official document: [CLICK HERE](https://www.autohotkey.com/docs/v2/lib/MsgBox.htm)