mIRC Home    About    Download    Register    News    Help

Print Thread
#164850 17/11/06 07:15 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
hello

afaik, there are three modes to display windows:

"all windows maximized"
"tile all windows"
"cascade all windows"

I have set default positions for windows

how do I make all windows to take the default positions?

thanks

#164851 17/11/06 02:26 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
click the window menu and make sure none of the 'auto' settings are checked.

then left click in each windows titlebar, go to position/save.

hopefully they shulod all set their positions and not auto-tile etc.

btk


billythekid
#164852 17/11/06 03:25 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
apparently it doesnt work...

besides, I already have nothing selected in windows menu
I have already set a default position
and third, I cannot do it for each window

Last edited by nataliad; 17/11/06 03:27 PM.
#164853 19/11/06 04:40 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
any ideas?

#164854 19/11/06 04:31 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Unless I am mistaken, default positions and settings are not individual for each window, but for each window type. So you can't just tell mIRC that #chan1 is here and #chan2 is there by default.

That said, you can use the /window command to resize and move a window around.

Code:
on *:join:#: {
  if ($chan == #yourchan) { window $chan x y w h }
}


That's a basic example for when you join a channel. You'd want ones for anything you want to set a position for.


Invision Support
#Invision on irc.irchighway.net
#164855 20/11/06 05:57 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
thanks

I know that I set defaults for each type and not for specific channels

but the problem is that I mirc has a button to switch from "tile mode" to "cascade mode" and to "maximized mode" but I cant find a way to switch to "default position mode"

I only want to switch from "maximized mode" to "default position mode" and backwards

is there a way?

#164856 20/11/06 02:16 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You'll need to save your default positions into a variable or an ini file or somewhere else, using the same method I mentioned to get those positions, then put the windows where you want them using that. You could use it from a menu, or on connect, or on join, or whatever you want.


Invision Support
#Invision on irc.irchighway.net
#164857 20/11/06 03:33 PM
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
The default window positions are stored in the first four entries of the appropriate line in the [windows] section of $mircini - e.g.

Code:
//echo -a $replace($gettok($readini($mircini,windows,wchannel),1-4,44),$chr(44),$chr(32))


gets the x y w h values (and the $replace formats them for use with /window, no less).

NB. Any channel that you give a saved position for will have its own entry in the [window] section (#chan_name instead of wchannel)

If I have the inclination later, I might eve write a "reset to default" menu option using this. smile


Sais

Link Copied to Clipboard