mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

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

Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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?

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Code:

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


Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
it doesn't work frown

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

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.

Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Sorry, somehow I overlooked that post.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
ok, any ideas please ?

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Code:
on *:open:?:*:window -x $nick


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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??

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Code:

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


Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
mm it doesnt work now frown

Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
???????????

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

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?

Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
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!

Last edited by nataliad; 17/12/07 07:13 AM.
Page 1 of 2 1 2

Link Copied to Clipboard