Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set WshShell = WScript.CreateObject("WScript.Shell")
- WshShell.Run "C:WindowsResourcesThemesaero.theme"
- For i = 1 To 10
- WScript.Sleep 1000
- If WshShell.AppActivate("Personalization") Then
- WshShell.Sendkeys "%FC"
- WshShell.Sendkeys "{F4}"
- Exit For
- End If
- Next
- HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionThemes
Add Comment
Please, Sign In to add comment