From WikiChip
Difference between revisions of "mirc/commands/font"
m (bot: sort-key added to category) |
(→Example) |
||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{mirc title|/font Command}} |
The '''/font command''' allows you to change the font for the current window. If no parameters are specified, the font dialog pops up, otherwise the specified parameters are used. | The '''/font command''' allows you to change the font for the current window. If no parameters are specified, the font dialog pops up, otherwise the specified parameters are used. | ||
== Synopsis == | == Synopsis == | ||
− | /font [- | + | /font [-asbegilunkdmz|window] <fontsize> <fontname> |
== Switches == | == Switches == | ||
Line 10: | Line 10: | ||
* '''-b''' - makes the font bold | * '''-b''' - makes the font bold | ||
* '''-i''' - makes the font italic | * '''-i''' - makes the font italic | ||
+ | * '''-l''' - applies the setting to the channel list window | ||
+ | * '''-u''' - applies the setting to the url list window | ||
+ | * '''-n''' - applies the setting to the notify list window | ||
+ | * '''-k''' - applies the setting to the links window (/links) | ||
+ | * '''-g''' - applies the setting to the finger window (old feature that has been removed) | ||
+ | * '''-m''' - applies the setting to the message window (/dqwindow) | ||
* '''-d''' - makes the font the default for that type of window | * '''-d''' - makes the font the default for that type of window | ||
+ | * '''-e''' - clears the font entry for that window | ||
* '''-z''' - clears all font settings and sets all windows to the specified font. If no font is specified, all windows are set to default font settings | * '''-z''' - clears all font settings and sets all windows to the specified font. If no font is specified, all windows are set to default font settings | ||
Line 19: | Line 26: | ||
== Example == | == Example == | ||
− | <syntaxhighlight lang="mIRC">/font -z -8 | + | <syntaxhighlight lang="mIRC"> |
− | /font -d"Status Window" -8 | + | /font -z -8 Verdana |
− | /font -s 12 | + | /font -d "Status Window" -8 Fixedsys |
+ | /font -s 12 Verdana | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | An officially undocumented way to change the font for Switchbar: | ||
+ | <syntaxhighlight lang="mIRC"> | ||
+ | /font switchbar -9 "Comic Sans MS" | ||
+ | /font switchbar -8 Tahoma | ||
+ | /font -b switchbar -10 Calibri | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | * After entering the command must restart mIRC. | ||
== Compatibility == | == Compatibility == |
Latest revision as of 11:22, 3 October 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /font command allows you to change the font for the current window. If no parameters are specified, the font dialog pops up, otherwise the specified parameters are used.
Synopsis[edit]
/font [-asbegilunkdmz|window] <fontsize> <fontname>
Switches[edit]
- -a - applies the setting to the active window
- -s - applies the setting to the status window
- -b - makes the font bold
- -i - makes the font italic
- -l - applies the setting to the channel list window
- -u - applies the setting to the url list window
- -n - applies the setting to the notify list window
- -k - applies the setting to the links window (/links)
- -g - applies the setting to the finger window (old feature that has been removed)
- -m - applies the setting to the message window (/dqwindow)
- -d - makes the font the default for that type of window
- -e - clears the font entry for that window
- -z - clears all font settings and sets all windows to the specified font. If no font is specified, all windows are set to default font settings
Parameters[edit]
- [window] - if none of the -azs switch is used, you must provide the name of a window instead
- <fontsize> - the size of the font, can be negative: it will then match the size of fonts in the font dialog
- <fontname> - the name of the font
Example[edit]
/font -z -8 Verdana /font -d "Status Window" -8 Fixedsys /font -s 12 Verdana
An officially undocumented way to change the font for Switchbar:
/font switchbar -9 "Comic Sans MS" /font switchbar -8 Tahoma /font -b switchbar -10 Calibri
- After entering the command must restart mIRC.
Compatibility[edit]
Added: 3.92
See also[edit]
mIRC commands list