You can use this command to both create or change the position and size of a window at the same time:

    "/window @name horizontal vertical width height"

Example:
Code
/window @test 300 400 700 500

    "@test" - window name (this can also be "#test").
    "300" - is the horizontal position in pixels on screen.
    "400" - is the vertical position in pixels on screen.
    "700" - is the width of the window in pixels.
    "500" - is the height of the window in pixels.


Note: This will only work when the mIRC window is open separate desktop window mode "/window -d @test".

Also you should not give such names to custom windows as: "@mirc", "@mdi", "@desktop" - these names are reserved by mIRC for identifying other windows.

More information on this command can and MUST need to be read here: https://en.wikichip.org/wiki/mirc/commands/window


P.S. "Documentation is an extremely crucial part of any software project, yet it is often overlooked or ignored. This can be a mistake, as documentation can provide valuable information that can help you complete your project successfully. Colleagues will be much more inclined to help you if you've done your due diligence - google search, documentation, and the like - don't just immediately ask others when an unknown problem pops up!" Why is it important to read the help documentation


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples