Jump to content

Size of Taskbar Buttons


Recommended Posts

Save this codes as a .vbs

Decrease:

Option Explicit

Dim WSHShell, n, p, itemtype, MyBox

Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\"
p = p & "MinWidth"
itemtype = "REG_SZ"
n = "-285"

WSHShell.RegWrite p, n, itemtype

MyBox = MsgBox("You must reboot for the changes to take effect.", vbOKOnly,"Done")

Undo:

Option Explicit

Dim WSHShell, n, p, itemtype, MyBox

Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\"
p = p & "MinWidth"
itemtype = "REG_SZ"
n = "-2310"

WSHShell.RegWrite p, n, itemtype

MyBox = MsgBox("You must reboot for the changes to take effect.", vbOKOnly,"Done")

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...