summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ahk-assistant.ahk4
1 files changed, 1 insertions, 3 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index b6260aa..d7ae738 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -640,9 +640,7 @@ explorerHidden() { ; toggle show/hide hidden folders, stolen from http://www.aut
Else
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden, 2
WinGetClass, eh_Class,A
- If (eh_Class = "#32770" OR A_OSVersion = "WIN_VISTA" OR A_OSVersion = "WIN_7")
- Send, {F5}
- Else PostMessage, 0x111, 28931,,, A
+ Send, {F5}
Return
}