-
Notifications
You must be signed in to change notification settings - Fork 0
/
Colors.vbs
107 lines (105 loc) · 4.33 KB
/
Colors.vbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Set objTerminal = CreateObject("Terminal.Controller")
Function Printer(strControlSequence)
WScript.StdOut.Write strControlSequence
End Function
objTerminal.SetPrinter GetRef("Printer")
'Foreground Colors
objTerminal.SetTextColor "Black", "Default"
WScript.Echo "Foreground: Black"
objTerminal.SetTextColor "Red", "Default"
WScript.Echo "Foreground: Red"
objTerminal.SetTextColor "Green", "Default"
WScript.Echo "Foreground: Green"
objTerminal.SetTextColor "Yellow", "Default"
WScript.Echo "Foreground: Yellow"
objTerminal.SetTextColor "Blue", "Default"
WScript.Echo "Foreground: Blue"
objTerminal.SetTextColor "Magenta", "Default"
WScript.Echo "Foreground: Magenta"
objTerminal.SetTextColor "Cyan", "Default"
WScript.Echo "Foreground: Cyan"
objTerminal.SetTextColor "White", "Default"
WScript.Echo "Foreground: White"
objTerminal.SetTextColor "BrightBlack", "Default"
WScript.Echo "Foreground: BrightBlack"
objTerminal.SetTextColor "BrightRed", "Default"
WScript.Echo "Foreground: BrightRed"
objTerminal.SetTextColor "BrightGreen", "Default"
WScript.Echo "Foreground: BrightGreen"
objTerminal.SetTextColor "BrightYellow", "Default"
WScript.Echo "Foreground: BrightYellow"
objTerminal.SetTextColor "BrightBlue", "Default"
WScript.Echo "Foreground: BrightBlue"
objTerminal.SetTextColor "BrightMagenta", "Default"
WScript.Echo "Foreground: BrightMagenta"
objTerminal.SetTextColor "BrightCyan", "Default"
WScript.Echo "Foreground: BrightCyan"
objTerminal.SetTextColor "BrightWhite", "Default"
WScript.Echo "Foreground: BrightWhite"
objTerminal.SetTextColor "Default", "Default"
WScript.Echo ""
'Background Colors
objTerminal.SetTextColor "Default", "Black"
WScript.StdOut.Write "Background: Black"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Red"
WScript.StdOut.Write "Background: Red"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Green"
WScript.StdOut.Write "Background: Green"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Yellow"
WScript.StdOut.Write "Background: Yellow"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Blue"
WScript.StdOut.Write "Background: Blue"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Magenta"
WScript.StdOut.Write "Background: Magenta"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "Cyan"
WScript.StdOut.Write "Background: Cyan"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "White"
WScript.StdOut.Write "Background: White"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightBlack"
WScript.StdOut.Write "Background: BrightBlack"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightRed"
WScript.StdOut.Write "Background: BrightRed"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightGreen"
WScript.StdOut.Write "Background: BrightGreen"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightYellow"
WScript.StdOut.Write "Background: BrightYellow"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightBlue"
WScript.StdOut.Write "Background: BrightBlue"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightMagenta"
WScript.StdOut.Write "Background: BrightMagenta"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightCyan"
WScript.StdOut.Write "Background: BrightCyan"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1
objTerminal.SetTextColor "Default", "BrightWhite"
WScript.StdOut.Write "Background: BrightWhite"
objTerminal.SetTextColor "Default", "Default"
WScript.StdOut.WriteBlankLines 1