Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- msgstring := " Move KiTTY`n1: Monitors | 2: Lappy"
- Gui, -SysMenu -caption +toolwindow +alwaysontop
- Gui, color, 000000
- WinSet, Transparent, 150
- Gui, font, s14 cFFFFFF, Segoe UI
- Gui, add, text, vtext, %msgstring%
- Gui, show, noactivate
- Input, inkey, L1
- Gui, Destroy
- if (inkey = "1") {
- WinActivate, ahk_class KiTTY
- WinRestore, ahk_class KiTTY
- WinMove, ahk_class KiTTY,, -2108, -776, 2116, 1721
- ;WinMove, ahk_class KiTTY,, -3369, -108, 3378, 1095
- } else if (inkey = "2") {
- WinActivate, ahk_class KiTTY
- WinMove, ahk_class KiTTY,, 0, 0
- WinRestore, ahk_class KiTTY
- WinMaximize, ahk_class KiTTY
- }
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement