From WikiChip
Editing mirc/commands/window

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 4: Line 4:
  
 
== Synopsis ==
 
== Synopsis ==
  /window [-abBcCdDe[N]fg[N]hHij[N]k[N]l[N]mMn[N]oprRsSuvw[N]xyz] [-tN,..,N] [+bdeflLnstx] <@name> [x y [w h]] [/command] [popup.txt/@popup] [font [size]] [iconfile [N]]
+
  /window [-abBcCdDe[N]fg[N]hHij[N]k[N]l[N]mMn[N]oprRsSuvw[N]xz] [-tN,..,N] [+bdeflLnstx] <@name> [x y [w h]] [/command] [popup.txt/@popup] [font [size]] [iconfile [N]]
  
 
== Switches ==
 
== Switches ==
Line 13: Line 13:
 
* '''-c''' - Close window  
 
* '''-c''' - Close window  
 
* '''-C''' - Center window  
 
* '''-C''' - Center window  
* '''-d''' - Create a separate desktop window (separate button in Windows taskbar) instead of a mIRC mdi window
+
* '''-d''' - Create desktop window instead of child
 
* '''-D''' - Enables @window's upper-left system menu choice to toggle @window between mdi/desktop without closing the window
 
* '''-D''' - Enables @window's upper-left system menu choice to toggle @window between mdi/desktop without closing the window
 
* '''-e[N]''' - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default  
 
* '''-e[N]''' - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default  
 
* '''-f''' - Makes the w h the required width and height of the text display area (instead of the window size)  
 
* '''-f''' - Makes the w h the required width and height of the text display area (instead of the window size)  
* '''-g[N]''' - Set/Unset highlight for window button; 0 = none, 1 = message colour, 2 = highlight colour, 3 = event colour
+
* '''-g[N]''' - Set/Unset highlight for window button; 0 = non, 1 = message color, 2 = highlight color
* '''-h''' - hide window (from the switchbar / treebar - it is still visible in mIRC's Window menu)
+
* '''-h''' - hide window  
 
* '''-H''' - Enables auto-hide for a side-listbox  
 
* '''-H''' - Enables auto-hide for a side-listbox  
 
* '''-i''' - Associate window with the active connection  
 
* '''-i''' - Associate window with the active connection  
Line 27: Line 27:
 
* '''-M''' - Trims off the text at tab stops  
 
* '''-M''' - Trims off the text at tab stops  
 
* '''-n[N]''' - Minimize window; 2 = Hide auto-expanding @Treebar item
 
* '''-n[N]''' - Minimize window; 2 = Hide auto-expanding @Treebar item
* '''-o''' - (used with -d) keep the desktop window on top of other windows 
+
* '''-o''' - Stop ontop (used with -d)  
* '''-p''' - Creates a [[Picture Windows - mIRC|picture window]]
+
* '''-p''' - Creates a [[Picture Windows - mIRC|picture windows]]
 
* '''-r''' - Restore window  
 
* '''-r''' - Restore window  
 
* '''-R''' - Reset window position to previously saved position  
 
* '''-R''' - Reset window position to previously saved position  
 
* '''-s''' - Sorts the main window (can be text or listbox)  
 
* '''-s''' - Sorts the main window (can be text or listbox)  
 
* '''-S''' - Sort the side-listbox  
 
* '''-S''' - Sort the side-listbox  
* '''-u''' - Removes on-top setting (-o)  
+
* '''-u''' - Removes ontop setting (-o)  
 
* '''-v''' - Close window when associated status window is closed  
 
* '''-v''' - Close window when associated status window is closed  
 
* '''-w[N]''' - Show/hide window from treebar or switchbar; 0 = hide from both, 1 = show in switchbar, 2 = show in treebar, 3 = show in both  
 
* '''-w[N]''' - Show/hide window from treebar or switchbar; 0 = hide from both, 1 = show in switchbar, 2 = show in treebar, 3 = show in both  
 
* '''-x''' - Maximize window  
 
* '''-x''' - Maximize window  
* '''-y''' - Disables logging menu for window.
 
 
* '''-z[N]''' - Place window button at end of switchbar; 0 = restore original position, 1 = place window at end. If [N] is not given it defaults to 1
 
* '''-z[N]''' - Place window button at end of switchbar; 0 = restore original position, 1 = place window at end. If [N] is not given it defaults to 1
  
 
=== Tab Switches ===
 
=== Tab Switches ===
* '''-tN,..,N''' - Lets you set custom tab positions in a listbox. If a text contains tabs, it will be spaced out accordingly, if you don't specify at least one tab stop, the window is not created but no error will be displayed.
+
* '''-tN,..,N''' - Lets you set custom tab positions in a listbox. If a text contains tabs, it will be spaced out accordingly.
 
 
'''Note''': By default a window contains a tab stop every 8 characters and it is possible to use /window -M without using /window -t.
 
 
 
'''Note2''': It is now possible to use N = 0 if you are using -M, to create an invisible column, which can be useful to hide meta-data for that line.
 
 
 
'''Note3''': You can update the tab stop position once the window has been created with /window -t @win N N N, which is different from the orignal syntax /window -tN,N,N @win
 
  
 
=== Appearance Switches ===
 
=== Appearance Switches ===
Mostly applicable to Desktop windows:
 
 
* '''+b''' - Border
 
* '''+b''' - Border
 
* '''+d''' - No border  
 
* '''+d''' - No border  
 
* '''+e''' - 3d Edge  
 
* '''+e''' - 3d Edge  
 
* '''+f''' - Dialog frame  
 
* '''+f''' - Dialog frame  
* '''+l''' - Tool window <ref group="app." name="tool">Tools windows have no Titlebar or min/max/close buttons.</ref>
+
* '''+l''' - Tool window <ref name="tool">Explanation of tool windows required.</ref>
* '''+L''' - Tool window (hide from taskbar) <ref group="app." name="tool" />
+
* '''+L''' - Tool window (hide from taskbar) <ref name="tool" />
 
* '''+n''' - Minimize window  
 
* '''+n''' - Minimize window  
 
* '''+s''' - Sizeable
 
* '''+s''' - Sizeable
 
* '''+t''' - Titlebar
 
* '''+t''' - Titlebar
* '''+x''' - Maximize window
+
* '''+x''' - Maximize window  
 
 
<references group="app." />
 
  
 
== Parameters ==
 
== Parameters ==
Line 136: Line 126:
 
* {{mIRC|/sline}}
 
* {{mIRC|/sline}}
 
{{mIRC command list}}
 
{{mIRC command list}}
 +
 +
== Notes ==
 +
<references />
  
 
[[Category:mIRC commands|window command - mIRC]]
 
[[Category:mIRC commands|window command - mIRC]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)