Project

General

Profile

Window » History » Version 18

Per Amundsen, 06/28/2016 05:56 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 13 Per Amundsen
*/window [-abBcCde[N]fg[N]hHij[N]k[N]l[N]mMn[N]opq[N]rRsSuvw[N]xz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]*
4 1 Per Amundsen
5 18 Per Amundsen
*Option Switches*
6 1 Per Amundsen
7
-a - Set as the active window.
8
-b - TODO
9
-B - Prevent window from using an internal border.
10
-c - Close window.
11
-C - Center window.
12
-d - Create desktop window instead of child.
13
-e[N] - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default.
14
-f - Makes the w h the required width and height of the text display area. (instead of the window size)
15 5 Per Amundsen
-g[N] - Sets/removes window button color, 0 = normal color, 1 = message color, 2 = highlight color, 3 = system color.
16 2 Per Amundsen
-h - Hide window.
17 12 Per Amundsen
-H - Enables auto-hide for a side-listbox.
18 10 Per Amundsen
-i - Dynamically associate with whatever happens to be the active connection.
19 5 Per Amundsen
-j[N] - Sets buffer size to N lines.
20
-k[N] - Hides the @ prefix in the window name, 0 = hide prefix, 1 = show prefix.
21 11 Per Amundsen
-l[N] - Add listbox, if N is specified then a side-listbox N characters wide is created.
22 1 Per Amundsen
-m - Enable line marker in the window.
23
-M - TODO
24
-n[N] - Minimize window ([N] = TODO)
25
-o - Stop ontop. (used with -d)
26
-p - Creates a picture windows.
27 13 Per Amundsen
-q[N] - If N is 0 hides the nick column, if N is 1 shows the nick column. _AdiIRC only_
28 14 Per Amundsen
-Q[N] - If N is 0 docks the window, if N is 1 undocks the window. _AdiIRC only_
29 5 Per Amundsen
-r - Restore window.
30 1 Per Amundsen
-R - TODO
31 11 Per Amundsen
-s - Sort the main window, whether text or listbox. (only listbox for now)
32
-S - Sort the side-listbox.
33 5 Per Amundsen
-u - Remove ontop setting of a desktop window.
34 9 Per Amundsen
-v - Close window when associated status window is closed.
35 1 Per Amundsen
-w[N] - Show/hide window from treebar or switchbar; 0 = hide from both, 1 = show in switchbar, 2 = show in switchbar, 3 = show in both
36 2 Per Amundsen
-x - Maximize window
37 1 Per Amundsen
-z[N] - if N = 1, places window button at end of switchbar/Treebar, if N = 0, restores original place. (Default is 1)
38 6 Per Amundsen
-Z - Reset the window icon to default.
39 1 Per Amundsen
40 18 Per Amundsen
*Tab Switches*
41 1 Per Amundsen
42
-tN,..,N - TODO
43
44 18 Per Amundsen
*Appearance Switches*
45 1 Per Amundsen
46 17 Per Amundsen
_These are disabled for MDI windows because .net MDI does not allow maximizing a window without proper borders._
47
48 1 Per Amundsen
+b - Border.
49
+d - No border.
50
+e - 3d Edge.
51
+f - Dialog frame.
52
+l - Tool window.
53
+L - Tool window. (hide from taskbar)
54
+n - Minimize window.
55 8 Per Amundsen
+s - Sizeable (hide titlebar?)
56 1 Per Amundsen
+t - Titlebar.
57
+x - Maximize window.
58
59
*Parameters*
60
61
<@name> - Window name.
62
x y [w h] - Left top [width height] - position and size of window. (A -1 value for any of the parameters means use default (or existing) value).
63
/command - Default command.
64
popup.txt - Popup filename, must be plane text file. TODO
65
font [size] - Font name [font size].
66
iconfile [N] - Sets a custom titlebar icon for the window [index]. (Iconindex TODO)
67
68 16 Mr. BS
*Example*
69 1 Per Amundsen
70
<pre>
71
alias example1 {
72
  ;Create a desktop + picture window, Coordinates: (250,250), size 300x300.
73
  /window -dep @Example 250 250 300 300
74
75
  ;Color it color 3. (default green)
76
  /drawfill @Example 3 3 1 1 100 100
77
78
  ;Draw text "Hello There!".
79
  /drawtext @Example 1 Arial 30 50 100 Hello There!
80
}
81
</pre>