mIRC Home    About    Download    Register    News    Help

Print Thread
#186015 16/09/07 08:16 PM
P
piker
piker
P
is there any way to change the colour of the mirc's visual style line via commandline? so I can change it via scripting? thanks in advance ^^

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Well, it can be done by using /writeini but then you'd have to close mIRC and reopen.

Joined: Dec 2002
Posts: 1,995
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,995
Doesn't mIRC save all settings to the ini file on exit? If so then that wouldn't work because any changes he makes would be overwritten. Situations like this is where this would come in handy.

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Not too sure, the method I said appears to be working but closing mIRC and reopening would be quite bothersome.

1. Options > Display > Options > Visual Styles > Border Color (Anything you like)
2. /writeini mirc.ini styles color 8388672
3. /run mirc or /exit then open again

I was just reading another loadini related post, it's a shame it's not implemented.

Joined: Dec 2002
Posts: 1,995
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,995
Originally Posted By: SladeKraven

...but closing mIRC and reopening would be quite bothersome.



This would work _if_ the changes to mirc.ini are not overwritten.

/writeini mirc.ini styles color 8388672
/exit -nr

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Isn't that what /saveini is for? I could be wrong as I've never used it. But the help file seems to indicate this.

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
That isn't the issue, it's loading the ini that is. There is no load feature for ini's so any changes can't be seen until you restart mIRC.

Joined: Apr 2004
Posts: 755
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 755
/flushini $mircini
though not recommended this has worked for me more then it hasn't.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
That's the one I was thinking of. smile


Link Copied to Clipboard