-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyles.wsf
39 lines (36 loc) · 1.24 KB
/
Styles.wsf
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
<job id="Styles">
<script language="VBScript">
Set objTerminal = CreateObject("Terminal.Controller")
Function Printer(strControlSequence)
WScript.StdOut.Write strControlSequence
End Function
objTerminal.SetPrinter GetRef("Printer")
objTerminal.SetTextStyle "Normal"
WScript.StdOut.WriteLine "Normal"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Bold"
WScript.StdOut.WriteLine "Bold"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Dim"
WScript.StdOut.WriteLine "Dim"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Italic"
WScript.StdOut.WriteLine "Italic"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Underline"
WScript.StdOut.WriteLine "Underline"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Blink"
WScript.StdOut.WriteLine "Blink"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Reverse"
WScript.StdOut.WriteLine "Reverse"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Invisible"
WScript.StdOut.WriteLine "Invisible"
objTerminal.ResetTextAttributes
objTerminal.SetTextStyle "Strikeout"
WScript.StdOut.WriteLine "Strikeout"
objTerminal.ResetTextAttributes
</script>
</job>