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 1: | Line 1: | ||
{{mirc title|/window Command}} | {{mirc title|/window Command}} | ||
− | The '''/window command''' can be used to create [[Custom Windows - mIRC|custom | + | The '''/window command''' can be used to create [[Custom Windows - mIRC|custom window]] as well as [[Picture Windows - mIRC|picture windows]] (using the -p switch). You can also use this command to manipulate an already existing window as well as change things in a channel window. |
− | |||
== Synopsis == | == Synopsis == | ||
Line 67: | Line 66: | ||
* '''<@name>''' - The window name, must be prefixed with a @ symbol | * '''<@name>''' - The window name, must be prefixed with a @ symbol | ||
* '''x y [w h]''' - The coordinates for the position and the optional width and height, use -1 for any of the parameters to use default (or existing) value | * '''x y [w h]''' - The coordinates for the position and the optional width and height, use -1 for any of the parameters to use default (or existing) value | ||
− | * '''/command''' - default command | + | * '''/command''' - default command |
* '''popup.txt/@popup''' - popup filename, must be plain text file, or can be the name of a window, representing the popups menu of that window in a remote file | * '''popup.txt/@popup''' - popup filename, must be plain text file, or can be the name of a window, representing the popups menu of that window in a remote file | ||
* '''font [size]''' - font name [font size] | * '''font [size]''' - font name [font size] | ||
* '''iconfile [N]''' - sets a custom titlebar icon for the window [index] | * '''iconfile [N]''' - sets a custom titlebar icon for the window [index] | ||
− | Note: If you specify -1 for any of the x,y,w,h values, | + | Note: If you specify -1 for any of the x,y,w,h values, a default value is used, unless the window exists in which case the current value is used. |
Note: mIRC does not allow window names @mirc (-2) or @mdi (-3) or @desktop (-1), that's because these names are used internally by mIRC to represent the different mIRC windows for $window(-1), $window(-2) and $window(-3). You can use these names in $window() though, to make things clearer if you want. | Note: mIRC does not allow window names @mirc (-2) or @mdi (-3) or @desktop (-1), that's because these names are used internally by mIRC to represent the different mIRC windows for $window(-1), $window(-2) and $window(-3). You can use these names in $window() though, to make things clearer if you want. |