VBScript, commonly abbreviated as VBS, is a scripting language used on the Microsoft Windows platform. VBS coders create scripts that can perform small tasks within the Windows operating system. VB scripts are used to do things like automatically open specific applications upon starting up the computer. You can hide the Windows taskbar using a premade VB script and executing it through the "Run" application.

  • VBScript, commonly abbreviated as VBS, is a scripting language used on the Microsoft Windows platform.
  • VBS coders create scripts that can perform small tasks within the Windows operating system.

Click "Start" and then click "Programs." Click "Accessories" and then choose "Notepad" in the program list.

Type or copy and paste the following code into a text file:

Sub Taskbar(blnValue As Boolean)


              Dim lngHandle As Long

Dim lngStartButton As Long



lngHandle = FindWindow("Shell_TrayWnd", "")



If blnValue Then

    ShowWindow lngHandle, 5

Else

    ShowWindow lngHandle, 0

End If
            

End Sub

Private Sub Cmdhide_Click()

Dim A As Boolean

A = False

Taskbar (A)

End Sub

Private Sub Cmdunhide_Click()

Dim A As Boolean

A = True

Taskbar (A)

End Sub

Select "File" and then choose "Save As." Type a name for your file and then click the "File Type" drop-down menu. Select ".VBS" from the available list. Click the "Save" button.

  • Private Sub Cmdunhide_Click() Dim A As Boolean A = True Taskbar (A) End Sub Select "File" and then choose "Save As."
  • Type a name for your file and then click the "File Type" drop-down menu.

Click "Start" and then click "Run." Type "CMD" and then press the "Enter" button. Type "Cscript" followed by the name of the .VBS file. Windows will run the script

and the taskbar will automatically hide itself.