mIRC Home    About    Download    Register    News    Help

Print Thread
Changing switchbar color #42657 18/08/03 03:02 AM
Joined: Dec 2002
Posts: 54
L
laz Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Dec 2002
Posts: 54
I'd find it useful if you could change the color of the switchbar. Example:

$switchbar(#channel|@window, color)

Thanks.

Re: Changing switchbar color #42658 18/08/03 03:34 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
You can, just need to use a bmp, or png >:D
/help /background


/background [-aemsgdluhcfnrtpx] [window] [filename]
Changes the background picture setting for a window. This can also be changed via a windows System Menu.

-a = active window
-m = main mIRC window
-s = status window
-g = finger window
-d = single message window

-e = set as default

-cfnrtp = center, fill, normal, stretch, tile, photo

-l = toolbar
-u = toolbar buttons
-h = switchbar

You can right-click in the toolbar/switchbar to pop up a menu for changing these settings. Toolbar buttons can use RGB Color 255,0,255 for transparency, the BMP must be of the same form as that in mIRC resources. It should be a 16 or 256 color BMP.


-KingTomato
Re: Changing switchbar color #42659 18/08/03 05:13 AM
Joined: Feb 2003
Posts: 2,624
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,624
I highly doubt that's what he meant.

He wants a $switchbar identifier to compliment the /window -g command. As do I.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Changing switchbar color #42660 18/08/03 11:11 AM
Joined: May 2003
Posts: 215
lammkott Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
I see how that could be useful, although I think it would be better for a /command to set the color and an $identifier to return the current color.


- Jason
Re: Changing switchbar color #42661 18/08/03 01:17 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
$window(<windowname>).sbcolor


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Changing switchbar color #42662 18/08/03 03:28 PM
Joined: Dec 2002
Posts: 54
L
laz Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Dec 2002
Posts: 54
Quote:

I see how that could be useful, although I think it would be better for a /command to set the color and an $identifier to return the current color.


Good point:

/switchbar [#channel|@window|nick|dcc] [color]

I remember someone asking if dcc could turn red when it failed.

Re: Changing switchbar color #42663 18/08/03 04:17 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Well, as Raccoon said, such command exists: /window -gN <windowname>
N = 0 -> none
N = 1 -> message colour
N = 2 -> highlight colour
N = 3 -> event colour


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Changing switchbar color #42664 23/08/03 06:59 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Doesn't he want to colour the buttons instead?


* cold edits his posts 24/7
Re: Changing switchbar color #42665 23/08/03 08:56 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
/window -gN alters the text colour of the switchbar buttons, and that's what I gathered from his post. It's possible that laz wanted to change the background colour of the buttons, but he hasn't responded anyway.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com