summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2019-07-17 12:48:54 +0100
committerPeter2019-07-17 12:48:54 +0100
commit10aa1c53ec6c47ad748fde1f86876810f09a4710 (patch)
tree2dec28c70bb10a30f492b4a0fb17298a20ed957d
parent9cabf515f32f09f1d6e59ac173e290c62d392348 (diff)
downloadahka-10aa1c53ec6c47ad748fde1f86876810f09a4710.tar.gz
ahka-10aa1c53ec6c47ad748fde1f86876810f09a4710.tar.bz2
ahka-10aa1c53ec6c47ad748fde1f86876810f09a4710.zip
Fix explorerHidden refreshing
If statement never triggers on Windows 10.
-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
}