BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Wii RAM Hacking: Pointers and ASM
Color Config [Add On Script] Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Color Config [Add On Script] Empty7/21/2024, 5:00 pm by Mac11ngAround

» Note to Inactive New Members
Color Config [Add On Script] Empty7/14/2024, 4:50 am by Mac11ngAround

» Lego Stars Wars: The Complete Saga [RLGE64]
Color Config [Add On Script] Empty7/14/2024, 4:42 am by Mac11ngAround

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Color Config [Add On Script] Empty7/13/2024, 11:18 am by Bully@WiiPlaza

» Gecko.NET
Color Config [Add On Script] Empty7/13/2024, 11:11 am by Bully@WiiPlaza

» How to get a USB Gecko SE
Color Config [Add On Script] Empty7/13/2024, 11:05 am by Mac11ngAround

» USB Gecko Hacking Tutorials [Ultimate List]
Color Config [Add On Script] Empty7/13/2024, 10:54 am by Mac11ngAround

» Converting from PAL to NTSC-J (Pokemon Battle Revolution)
Color Config [Add On Script] Empty7/6/2024, 9:37 am by SnB@BWH

» Making RAM Dumps With Dolphin (No USB Gecko!)
Color Config [Add On Script] Empty7/6/2024, 9:20 am by SnB@BWH

Search
 
 

Display results as :
 


Rechercher Advanced Search

July 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Color Config [Add On Script]

2 posters

Go down  Message [Page 1 of 1]

1Color Config [Add On Script] Empty Color Config [Add On Script] 4/18/2015, 10:01 pm

Modder~kid@BWH

Modder~kid@BWH
Mod & Writer

Adding a "color config" to batch scripts.

(i made this tut, cuz i was bord)  but its still a useful sript

say you wana change the color of a Batch file, with out edditing the file.
All you need to do is to add a few extra commands, or scripts, to the
batch file, once you do so, you well no longer need to keep modifing the
file.  

the three things you need are three batch files
1, normal batchfile "the one you want to change"
2. color menu
3, color save

a normal batch file with color text would have just the plane "color" command.

--example
Code:

@echo off
color a
echo Text Here
pause

as you can see i put "color a" since i wanted green text,  now ima show you
how to change the color code with a save file.

--example
Code:

@echo off
call "C:\ColorSave.cmd"
%color%
cls
echo Text Here
pause

as you can see, we replaced the normal "color" command with a "%color%" and have also
added the "call" command.  What i did was, i made a nother cmd fiile that has a nother color
command in it

--example
Code:

color 1

all it has is a "color" code, you see, when we "call" the color file, it well read that it has
"color 1" in it, because of this, it well replace "%color%" with color 1,  now to get this
"color 1" or any color realy, in the color save, we need to make a color menu

--example
Code:

@echo off
:home
echo 1 = blue
echo 2 = green
echo 3 = white
set /p Option=
if %Option% == 1 echo color 1 > C:\ColorSave.cmd
if %Option% == 2 echo color a > C:\ColorSave.cmd
if %Option% == 3 echo color 7 > C:\ColorSave.cmd
goto home

now, as you can see, we have three colors in the menu, we have "blue, green, and white"
also, as you can see, once we press 1, 2, or 3, it puts or "echos" the color code in to the "ColorSave"
file,  then when are batch file douse the "call" command for the color save, it reads the color code
and changes the color of the batch file

now by adding those two lines of code in are main file, we can change the color of it by just oping up the
menu, and it well auto save the color, so next time you open it,  it well be the color. (or any color that you set)


_________________
Color Config [Add On Script] Giphy

Binary@BWH

Binary@BWH
Uber Website Hacker and Mod

it's a nice tutorial, but too basic. :p I know you are capable of much more Wink


_________________
Color Config [Add On Script] Cjy6OBw

++Mentor++ wrote:We explore... and you call us criminals. We seek
after knowledge... and you call us criminals. We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.

Yes, I am a criminal. My crime is that of curiosity. My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.

I am a hacker, and this is my manifesto. You may stop this individual,
but you can't stop us all... after all, we're all alike.



Color Config [Add On Script] Ghu3eV

Color Config [Add On Script] Goombasig

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum