-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtangaria-addon.ahk
71 lines (70 loc) · 2.59 KB
/
tangaria-addon.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;// Addon for one-window setup. Guide how to use it:
;// https://tangar.info/en/tangaria-game
;//
;//numlock off
SetNumLockState, AlwaysOff
;//capslock off
SetCapsLockState, AlwaysOff
;////////////////////////////////////////
;//winkey -> F11
LWin::F11
;//capslock -> F10
~Capslock::F10
;//numlock -> ^F9
Numlock::
{
KeyWait, NumLock
sendinput, {^F9}
}
;/////////////////////////////////////// NOT USED:
;//Remapping Num5 -> f8;
;// vk0C::F8 // NO NEED
;// tab -> F7
;// Tab::F7 // NO NEED
;//` (tilda) -> F6
;// vkC0::F6 // NO NEED
;//ESC -> F5 // you be able to do so, but you need to arrange ESC manually in .prf BEWARE:
;// if you would open '%' screen - you won't be able to exit it with remapped ESC
;// vk1B::F5
;////////////////////////////////////////
;//Fixing alt-problem
~LAlt Up:: return
;//Activate addon WinKey+LMC at the window
MButton & LButton::
Winset, Alwaysontop, On, A
WinSet, Style, -0xC00000, A
WinSet, Style, -0xC40000, A
;//////////////////////////////////////////////////////////////////////////
;/////////////////////VVVVVVVVVVVVVVVVVVVVVVVVVVVV/////////////////////////
;/////////////////////VVVVVVVVVVVVVVVVVVVVVVVVVVVV/////////////////////////
;/////////////////////VVVVVVVVVVVVVVVVVVVVVVVVVVVV/////////////////////////
;//////////////////////////////////////////////////////////////////////////
;//when new client version is out: change header ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
WinSet, Region, 0-30 W1920 H1080, Tangaria 1.6.0 (Beta 0) T-15 ;
;//////////////////////////////////////////////////////////////////////////
;//OFF Destroy menu:
;// WinWait PWMAngband 1.5.0 (Build 6)
;// DllCall("SetMenu", uint, WinExist(), uint, 0) ;
;//////////////////////////////////////////////////////////////////////////
;//If you wish to hide first stroke of gaming window:
;//remove ";" at beginning of this line.
;//Also change W1300 H550 at your resolution, for example W1680 H1050.
;//////////////////////////////////////////////////////////////////////////
;//TERM-1
WinSet, Style, -0xC00000, Term-1 ;
WinSet, Style, -0xC40000, Term-1 ;
WinSet, Region, 0-30 W1920 H1080, Term-1 ; hide term header
WinMove, Term-1, , 0, -95 ; move term-1 up
;//TERM-5
WinSet, Region, 0-72 W1920 H1080, Term-5 ; hide term header
WinMove, Term-5, , 1490, -120 ; move term-5 up
;//
WinSet, Region, 0-30 W1920 H1080, ZZoom - V1.0 ;
;//
;//could be used to cut screen from Term-6
;//WinSet, Region, 275-34 1660-34 1660-988 275-988, Term-6
return ;
;//Deactivate addon WinKey+RMC at the window
MButton & RButton::
WinSet, Style, +0xC00000, A
return ;