mIRC Home    About    Download    Register    News    Help

Print Thread
Mark All Read #189744 11/11/07 03:21 PM
Joined: Nov 2007
Posts: 50
weedorcollege Offline OP
Babel fish
OP Offline
Babel fish
Joined: Nov 2007
Posts: 50
I propose a simple option for those people like me that have OCD. My OCD annoys me when I see a lot of windows colored and I just want them all to be one colors. Other without OCD might just wants this as well.

Anyway, onto the suggestion. I suggest a Mark All Read feature very similar to the forums. When you click it (and it could just be right clicking the server window and hitting "Mark All Read") it'll make it as if you clicked on each channel window.

Simple, and maybe easy to code. I'm no scripter. What do you guys think?

Re: Mark All Read [Re: weedorcollege] #189752 11/11/07 04:53 PM
Joined: Feb 2006
Posts: 546
J
jaytea Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 546
hah, make mIRC more disability friendly :P yes, i suppose it looks neater when everything is one color, here's a small snippet you can use to accomplish this:

Code:
alias ezekiel {
  var %i = 1
  while ($window(*,%i).wid) {
    window -g0 @ $+ $v1
    inc %i
  }
}
alias f2 scon -a ezekiel


then you can press f2 to clear the colors across all networks :P


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
Re: Mark All Read [Re: weedorcollege] #189753 11/11/07 04:55 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Yep, pretty easy to code smile This adds a toolbar button to remove hilights.
Code:
on *:start:toolbar -az1n20 UnMark "Unhilight all" mirc.exe /unmarkall
alias unmarkall scon -a _unmarkall
alias -l _unmarkall var %i = 1 | while $window(*,%i) { window -g0 $qt($v1) | inc %i }
For a different icon/picfile, change the blue text below (see /help /toolbar for info)
toolbar -az1n20 UnMark "Unhilight all" mirc.exe /unmarkall

Re: Mark All Read [Re: weedorcollege] #189764 11/11/07 07:05 PM
Joined: Nov 2007
Posts: 50
weedorcollege Offline OP
Babel fish
OP Offline
Babel fish
Joined: Nov 2007
Posts: 50
Well, this was a suggestion to make it a built in mIRC feature but these work. Anyway, Deegee, yours works but is there a way to make it so it only does it for the server you type the command in on?

Re: Mark All Read [Re: weedorcollege] #189776 11/11/07 08:28 PM
Joined: Dec 2002
Posts: 503
B
Bekar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Remove the 'scon -a' from the unmarkall alias.

Re: Mark All Read [Re: weedorcollege] #189840 12/11/07 04:59 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Or you could use this.
Clicking the button will execute only on the current connection.
Clicking the button while holding down the Control key will execute on ALL connections.
Code:
on *:start:toolbar -az1n20 UnMark "Unhilight all" mirc.exe /unmarkall
alias unmarkall $iif($mouse.key & 2,scon -a) _unmarkall
alias -l _unmarkall var %i = 1 | while $window(*,%i) { window -g0 $qt($v1) | inc %i }

Re: Mark All Read [Re: deegee] #211441 16/04/09 12:09 PM
Joined: Nov 2007
Posts: 50
weedorcollege Offline OP
Babel fish
OP Offline
Babel fish
Joined: Nov 2007
Posts: 50
Hey guys, the script still works fine, but I was wondering if another small feature could be added. When I click the command, it marks the server window and channels as read, but not the notify lists. Is there a way to make it mark the notify lists as read, too?

Thanks in advance.

Re: Mark All Read [Re: weedorcollege] #211442 16/04/09 01:05 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
From my point of view it will unmark your notify list as well - do you have multiple notify lists confused