mIRC Homepage

Otherwise uneasily possible window management

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
Posted By: Poppy

Re: Otherwise uneasily possible window management - 23/12/02 07:51 PM

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
Posted By: starbucks_mafia

Re: Otherwise uneasily possible window management - 23/12/02 09:14 PM

/window -a window
Posted By: ZnoRK

Re: Otherwise uneasily possible window management - 01/01/03 02:50 AM

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 : )
Posted By: ZnoRK

Re: Otherwise uneasily possible window management - 01/01/03 02:58 AM

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
Posted By: Hammer

Re: Otherwise uneasily possible window management - 01/01/03 04:21 AM

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
Posted By: ZnoRK

Re: Otherwise uneasily possible window management - 03/01/03 08:40 AM

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
Posted By: ZnoRK

Re: Otherwise uneasily possible window management - 03/01/03 08:49 AM

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
© 2020 mIRC Discussion Forums