Created
January 7, 2017 21:15
-
-
Save tillig/85739281b7aac7b392270484bc44cb12 to your computer and use it in GitHub Desktop.
AutoIt3 script for setting best appearance on Windows Server 2008 R2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#RequireAdmin | |
; AutoIt3 script for setting best appearance on Win2K8R2 | |
; Used when drop shadows on icons, etc. disappear for unknown reason. | |
ShellExecute("sysdm.cpl") | |
WinWaitActive("System Properties") | |
ControlCommand("System Properties", "", 12320, "TabRight", "") | |
;For some reason it used to be two tabs right, now it's just one. | |
;ControlCommand("System Properties", "", 12320, "TabRight", "") | |
Send("!s") | |
WinWaitActive("Performance Options") | |
Send("!p!a") | |
WinWaitActive("Performance Options") | |
Send("!b{ENTER}") | |
WinActivate("System Properties") | |
ControlClick("System Properties", "", 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment