MGadAllah Posted November 6, 2006 Posted November 6, 2006 Save this codes as a .vbsDecrease:Option ExplicitDim WSHShell, n, p, itemtype, MyBoxSet 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, itemtypeMyBox = MsgBox("You must reboot for the changes to take effect.", vbOKOnly,"Done")Undo:Option ExplicitDim WSHShell, n, p, itemtype, MyBoxSet 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, itemtypeMyBox = MsgBox("You must reboot for the changes to take effect.", vbOKOnly,"Done") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.