mIRC Homepage
Posted By: nataliad always maximize windows: any solution - 05/12/07 11:55 AM
hello

I am very tired of mirc windows not being always maximized (the qery windows inside mirc main window)

I have many scripts that hide specific windows, I don't know is they cause this problem

is there a way to auto maximize then upon creation?

looking for help cause I am really tired of this

thanks
Posted By: RoCk Re: always maximize windows: any solution - 05/12/07 12:52 PM

Close all windows except the first status window (can't close it anyway)

Maximize the remaining status window.

Right click on status window button > Position > Save

Type /exit -nr
Posted By: nataliad Re: always maximize windows: any solution - 07/12/07 02:41 PM
nope, it doesn't work

I did all the above
then I started mirc

I have an autoconnect and autojoin script:
Code:
on *:start: {
  window -x "Status Window"
  showmirc -m
  /s srv.d.com -j #c2,#c3
  /s -m irc.r.net -j #c1 
}


then I click F8 in order to hide the unwanted windows:
Code:
alias F8 {
  scon -a toggletabs %hidden
  if (%hidden == $null) set %hidden 1
  else unset %hidden
}
alias -l toggletabs {
  set %x window $iif($0,-w,-h)
  set %y 1
  %x "Status Window"
  while $chan(%y) {
    if $istok(#c1 #c2 #c3,$chan(%y),32) {
      %x $chan(%y)
    }
    inc %y
  }

}[/code]

then when I receive a new prv, the window is not maximized, its in middle size

when I hit F8 again in order to restore the hidden windows, those windows are not maximized, they are in middle size

is there something wrong with my scripts?
any help please?
Posted By: RoCk Re: always maximize windows: any solution - 07/12/07 02:54 PM

Code:

on *:OPEN:?:*:window -x $target

Posted By: nataliad Re: always maximize windows: any solution - 07/12/07 10:49 PM
it doesn't work frown
Posted By: RoCk Re: always maximize windows: any solution - 08/12/07 03:35 PM

Well, the only other thing I can suggest is to unload one script at a time until you find the one that is causing it.
Posted By: nataliad Re: always maximize windows: any solution - 10/12/07 11:32 AM
aww

we are talking about a 2,000 lines remote

isn't a way to adjust the above scripts to maximize the windows or to make another script that will do it?
Posted By: Riamus2 Re: always maximize windows: any solution - 10/12/07 09:41 PM
Without knowing how/why your scripts are causing you the problem, trying to make a script that will fix it may be difficult because it may just conflict with the other script(s) and not work. And trying to fix your current script would be possible... if you look through and find where the problem is.
Posted By: nataliad Re: always maximize windows: any solution - 11/12/07 06:58 AM
I post my scripts in order to suggest me where is the problem and how can I fix it...

the problem is focused in the scripts above
Posted By: Riamus2 Re: always maximize windows: any solution - 11/12/07 10:18 PM
Sorry, somehow I overlooked that post.
Posted By: nataliad Re: always maximize windows: any solution - 12/12/07 04:48 PM
ok, any ideas please ?
Code:
on *:open:?:*:window -x $nick
Posted By: nataliad Re: always maximize windows: any solution - 13/12/07 12:00 AM
Originally Posted By: starbucks_mafia
Code:
on *:open:?:*:window -x $nick


thanks
this indeed maximizes the queries, but it activates them on their creation as well

how do I prevent this??
Posted By: RoCk Re: always maximize windows: any solution - 13/12/07 12:23 AM

Code:

window -x $nick
scid $lactivecid window -ag1 $qt($lactive)

Posted By: nataliad Re: always maximize windows: any solution - 13/12/07 12:27 PM
mm it doesnt work now frown
Posted By: nataliad Re: always maximize windows: any solution - 15/12/07 09:40 PM
???????????
Posted By: RoCk Re: always maximize windows: any solution - 15/12/07 10:02 PM

I don't know why it won't work for you, every solution given to you in this thread and this thread works perfectly for me, and everyone else it seems, but not for you. Why should I or anyone else waste their time trying to help you if you're not even willing to go through your own scripts and remove one at a time to try find the problem?
Posted By: nataliad Re: always maximize windows: any solution - 16/12/07 12:56 AM
thanks for your reply

this

on *:open:?:*:window -x $nick

works very well, but it activates the new queries, this is what I want to prevent
RoCk almost had it:

Code:
on *:open:?:*:{
  window -x $nick
  scid $lactivecid window -a $qt($lactive)
  window -g1 $nick
}


I only briefly tested that but it should do what you want.
Posted By: nataliad Re: always maximize windows: any solution - 17/12/07 07:09 AM
thanks

as for this:

window -x $nick
scid $lactivecid window -ag1 $qt($lactive)

the query gets activated! but I want to just maximize the query, not activate it!
it also activates the main mirc window!
Posted By: nataliad Re: always maximize windows: any solution - 17/12/07 07:11 AM
Originally Posted By: starbucks_mafia
RoCk almost had it:

Code:
on *:open:?:*:{
  window -x $nick
  scid $lactivecid window -a $qt($lactive)
  window -g1 $nick
}


I only briefly tested that but it should do what you want.


this maximizes the main mirc window :S
it also flashes somehow the windows :S
Posted By: nataliad Re: always maximize windows: any solution - 08/01/08 12:20 PM
...???
© mIRC Discussion Forums