$window » History » Version 40
Mr. BS, 03/07/2017 07:48 PM
1 | 26 | Mr. BS | {{css |
---|---|---|---|
2 | 40 | Mr. BS | .ktable{width:99%}.ktable td{border-bottom:none!important;border-top:none!important}.ktable th:nth-child(1){min-width:130px!important}.ktable tr:not(:first-child):hover{background-color:#ffffdd} |
3 | 26 | Mr. BS | }} |
4 | |||
5 | 31 | Mr. BS | _Added in 1.9.0_ |
6 | 1 | Per Amundsen | |
7 | *$window(N/@name/@wildcard, M)* |
||
8 | |||
9 | 8 | Per Amundsen | Returns properties for a window. |
10 | 1 | Per Amundsen | |
11 | *Parameters* |
||
12 | 3 | Per Amundsen | |
13 | 34 | Mr. BS | table(ktable). |
14 | 31 | Mr. BS | |_<.Parameter|_<.Description| |
15 | | N/@name/@wildcard | Name of the window or the Nth window. (@wildcard is also possible if M is defined) | |
||
16 | | M | The Nth @wildcard match. (optional) | |
||
17 | | If N is -1 | returns properties for the desktop area. | |
||
18 | | If N is -2 | returns properties for the AdiIRC main window. | |
||
19 | | If N is -3 | returns properties for the MDI client area of the main window. | |
||
20 | 26 | Mr. BS | |
21 | 1 | Per Amundsen | *Properties* |
22 | |||
23 | 34 | Mr. BS | table(ktable). |
24 | 29 | Mr. BS | |_<.Propertie|_<.Description| |
25 | 26 | Mr. BS | | .x | Horizontal position of the window relative to the mainform. | |
26 | | .y | Vertical position of the window relative to the mainform. | |
||
27 | | .w | Window width. | |
||
28 | | .h | Window height. | |
||
29 | | .dx | Horizontal position of the window relative to the desktop. | |
||
30 | | .dy | Vertical position of the window relative to the desktop. | |
||
31 | | .dw | Width of the text display area. | |
||
32 | | .dh | Height of the text display area. | |
||
33 | | .bw | Width of the bitmap for a picture window. | |
||
34 | | .bh | Height of the bitmap for a picture window. | |
||
35 | | .mdi | [[$true]] if the window is a MDI window/docked, otherwise [[$false]] | |
||
36 | | .title | The text of the window Titlebar. | |
||
37 | | .state | minimized/maximized/hidden/normal. | |
||
38 | | .font | Name of the current font. | |
||
39 | | .fontsize | Size of the current font. | |
||
40 | | .fontbold | [[$true]] if the font is bold, otherwise [[$false]]. | |
||
41 | | .fontitalic | [[$true]] if the font is italic, otherwise [[$false]]. | |
||
42 | | .fontunderline | [[$true]] if the font is underline, otherwise [[$false]]. | |
||
43 | | .fontcs | returns the character set of the current font. | |
||
44 | | .logfile | Name of logfile if one is open for the window. | |
||
45 | | .historyfile | Name of the file Editbox history will be saved to. (AdiIRC only) | |
||
46 | | .iconfile | Name of the icon file used for a custom icon. (AdiIRC only) | |
||
47 | | .backgroundfile | Name of the background file used for a custom background. (AdiIRC only) | |
||
48 | | .stamp | [[$true]] if timestamp is on for this window, otherwise [[$false]]. | |
||
49 | | .icon | [[$true]] if icon is visible in Switchbar otherwise [[$false]]. | |
||
50 | | .ontop | [[$true]] if window is on top otherwise [[$false]]. | |
||
51 | | .type | Window type, channel/status/query/custom/chat/tool/panel. | |
||
52 | | .anysc | [[$true]] if the window was created with the [[/window]] -i parameter, otherwise [[$false]]. | |
||
53 | | .wid | Window id. | |
||
54 | | .cid | Connection id. | |
||
55 | | .hwnd | Window handle. | |
||
56 | | .sbtext | Switchbar button text for this window. | |
||
57 | | .sbcolor | Switchbar color event event/message/highlight for this window. | |
||
58 | | .sbstate | Switchbar button state (1 = visible, 0 = not visible) for this window. | |
||
59 | | .tbtext | Treebar text for this window. | |
||
60 | | .tbstate | Treebar state (1 = visible, 0 = not visible) for this window. | |
||
61 | | .lb | Nicklist state (2 = visible, 0 = not visible) for this window. | |
||
62 | | .topicbox | Topicbox state (2 = Show sticky, 1 = show, 2 = off) for this window. (AdiIRC only) | |
||
63 | | .idle | idle state. | |
||
64 | | .isbottom | [[$true]] if the textarea is scrolled to the bottom, otherwise [[$false]]. (AdiIRC only) | |
||
65 | | .unread | Returns number of unread messages. (this include system messages, use .sbcolor to check the type, AdiIRC only) | |
||
66 | | .layer | Returns the window [[/setlayer|layer]]. (AdiIRC only) | |
||
67 | | .mscrollpos | Returns the current scrollbar position for the message area. (AdiIRC only) | |
||
68 | | .mscrollmax | Returns the max scrollbar position for the message area. (AdiIRC only) | |
||
69 | 27 | Per Amundsen | | .collapsed | Returns [[$true]] if the associated Status Window is collapsed in the Treebar, otherwise [[$false]]. (AdiIRC only) | |