mIRC Home    About    Download    Register    News    Help

Print Thread
Understanding [windows] section inside mirc.ini #269501 17/10/21 09:10 PM
Joined: Sep 2003
Posts: 38
Demarko Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Sep 2003
Posts: 38
Hi all,

I have trouble understanding the last three values at the [windows] section inside the mirc.ini.
Here is some example:
Quote
[windows]
main=240,1440,74,891,2,1,0
wstatus=-1,1045,-1,576,1,1,0
...

The first four numbers tell the windows offsets, height and width.
But I cant figure out what the last three values (e.g. 2,1,0) represent.
Who can help please? Thanks in advance! smile

Re: Understanding [windows] section inside mirc.ini [Re: Demarko] #269504 18/10/21 12:07 PM
Joined: Feb 2011
Posts: 388
K
KindOne Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 388
https://web.archive.org/web/20060118083226/http://www.mishscript.de/help/mircini/misc.htm#Windows


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: Understanding [windows] section inside mirc.ini [Re: Demarko] #269506 18/10/21 12:50 PM
Joined: Jan 2004
Posts: 1,640
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,640
Pasted from the old mIRC.ini Unleashed helpfile.

main=240,1440,74,891,2,1,0

2:
This value describes how the window will be opened:
Values:
2 = Maximize
1 = Minimize
0 = Normal

1:
This value describes if the window should be placed on desktop:
Values:
1 = On
0 = Off

0:
This value describes if the window should be placed on top of all windows.
Values:
1 = On
0 = Off
Only active if Desktop is set (see above)

Re: Understanding [windows] section inside mirc.ini [Re: maroon] #269507 18/10/21 03:14 PM
Joined: Sep 2003
Posts: 38
Demarko Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Sep 2003
Posts: 38
Thank you, maroon!

Originally Posted by maroon
Pasted from the old mIRC.ini Unleashed helpfile.
Where I can find that source of information please? Because I will probably have some more questions regarding the .ini data structure soon grin

Re: Understanding [windows] section inside mirc.ini [Re: Demarko] #269508 18/10/21 05:41 PM
Joined: May 2018
Posts: 146
eahm Offline
Vogon poet
Offline
Vogon poet
Joined: May 2018
Posts: 146
This is the latest version I was able to find: https://www.tg007.net/file-1137

Re: Understanding [windows] section inside mirc.ini [Re: Demarko] #269509 18/10/21 09:55 PM
Joined: Jan 2004
Posts: 1,640
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,640
Thanks to KindOne for posting the link.

Note how ancient it is, so there's lots of settings since then that aren't shown. Some of the settings listed there are mapped to features removed, like for /finger, so they won't do anything in newer mIRC versions.