mIRC Home    About    Download    Register    News    Help

Print Thread
M
MauS
MauS
M
I need to somehow hide mIRC from taskbar and show it only in tray even when not minimized. There is nothing about it in Display - Tray.

Best variant is switching this on and off via script command, but i'll accept any advice up to editing mIRC recources.

Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
The best way would be to make a script that works with $appactive and /showmirc, so whenever $appactive returns $true, you just /showmirc -t.

So basically...
Code:
On 1:START:{ .timertray 0 1 checkstate }
alias checkstate {
  if ($appactive) { .showmirc -t }
}

M
MauS
MauS
M
But this will only hide mIRC to tray if it's active on start, this can be done from Display - Tray.

I mean mIRC didn't show itself in taskbar while chatting in it -- while mIRC is an active app.

Err... mIRC remains active and no mIRC in taskbar. ...How?

Joined: Feb 2003
Posts: 2,737
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,737
On *:APPACTIVE: .showmirc -t
On *:ACTIVE:*: .window -nuh " $+ $active $+ " | .showmirc -t
You can use any combination of those above switches, depending on what you want.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Dec 2002
Posts: 698
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 698
Err... mIRC remains active and no mIRC in taskbar. ...How?
/showmirc -t won't allow that :tongue:

M
MauS
MauS
M
Yeah that's what i wanted to say


Link Copied to Clipboard