MGadAllah Posted November 6, 2006 Share 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 Link to comment Share on other sites More sharing options...
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.