mIRC Homepage
Posted By: ZnoRK Otherwise uneasily possible window management - 23/12/02 07:16 PM
The idea is an built in alias that sets a window active, taking perhaps the name of the window or number as a parameter, for example /winactive #chat or /winactive =ZnoRK
Reason: My script pops up dcc chats automaticaly and mirc sets it active, wich is annoying, but i think this alias could be very helpful to others as well.. please consider it
After a re-install, that happened to me until I realised I'd left the 'iconify query window' left unchecked in Options...now any queries or dcc chats are not set active until I click the window in the switch bar. Was that what you meant? smile
/window -a window
Allright then, thanks for your help.
For some stupid reason I didn't thank that would work, and decided not to try. (how does one delete a topic : )
Well when I see it in action I realize its far to slow, so my suggestion is to add some sort of an option that doesnt make the DCC active when opened:
var %active $active
dcc chat $nick
window -a %active
is too slow or inconvinient since it first pops up the window before returning. Heres another idea:
dcc chat -u $nick
where u might mean not activating it on open
As Poppy said:
  • File
  • Options (Alt-O)
  • IRC
  • [X] Iconify query window
This will force the query window to open minimized.

  • Iconify query window
    If someone sends you a query, the default is for the query window to open, ready for input. You can select this option to force mIRC to iconify the window preventing it from taking the focus from the window you are currently in.
As far as DCC Chat/FServe windows are concerned, you might try using on *:OPEN:=|!: to /window -n them. Perhaps something like:
Code:

on *:OPEN:=: window -n =$nick
on *:OPEN:!: window -n =$nick
the problem persists as it is in MY script that makes the window pop up, and therefor on open doesn't run, and iconify query isn't of help. I sincerely thank you though for your all-good replies. I still hope there is.. hope confused
for less confusion i should perhaps add the code:

on *:text:#stuff:trigger:{
dcc chat $nick
window -n =$nick
}
on *:open:!:window -n =$nick
on *:open:=:window -n =$nick

options: iconify query [x]


The script pops the file server up for a split second, but I don't want that to happen. If the on open SHOULD work its not working here, with tests; "echo -a bla" not working either. I hope there is a way arround this, other than a dll or just accepting this. thanks again for all the help already
© mIRC Discussion Forums