mIRC Homepage
Posted By: tidy_trax /window - 05/08/04 03:32 PM
Allow -2 to be used in /window, so you can move and resize mIRC.

Examples (I know some of these can be done with /showmirc).

/window -c -2 - same as /exit.
/window -n -2 - minimize mIRC.
/window -r -2 - restore mIRC.
/window -x -2 - maximize mIRC.
/window -2 0 0 - move mIRC to the top left of the desktop.

Posted By: greeny Re: /window - 05/08/04 03:33 PM
yup, this would be very nice indeed smile
Posted By: Securix Re: /window - 06/08/04 12:11 AM
Most of this already exists :

(mirc.hlp)
/showmirc -mnrstxop
Manipulates the display of the main mIRC window, where -n = minimize, -r = restore, -s = show, -t = tray, -x = maximize, -o = on top, -p = not on top, -m = minimize according to tray settings.
Posted By: tidy_trax Re: /window - 06/08/04 12:26 AM
From my post:

"Examples (I know some of these can be done with /showmirc)."
Posted By: starbucks_mafia Re: /window - 06/08/04 12:33 AM
Since the only one that can't be done elsewhere is the positioning, maybe it would just be simpler to add optional parameters to /showmirc -r
Posted By: PhantasyX Re: /window - 06/08/04 07:36 PM
I like the resize idea, and move.
I know about /showmirc, but I mean, say we wanted to rest mIRC at the top of the screen only with the title bar showing, a /window command would handle that like cutting through jello with a sharp knife.
Posted By: Coolkill Re: /window - 06/08/04 09:08 PM
As you have already pointed out most can be done with /showmirc and as a result it would be completely useless to "edit" /window to do exactly the same thing and would only lead to confusion.

Eamonn.
Posted By: tidy_trax Re: /window - 06/08/04 11:54 PM
Imo it would be more confusing to add it to /showmirc, considering you can use $window(-2).property to get info on the main mdi window, but I don't care which it gets added to.
© mIRC Discussion Forums