commit b2b672a229f8ed2c70ead26959a73e700607f42f parent 8106bb18ca313d1734d89a5d85222676726e8f8a Author: breadcat <peter@minskio.co.uk> Date: Sat, 14 Nov 2020 11:21:22 +0000 Merge calculator ifs Diffstat:
M | ahk-assistant.ahk | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk @@ -119,11 +119,7 @@ Insert::appendClipboard() Return #If -#IfWinActive ahk_class SciCalc ; windows xp calc - CapsLock::Send !{F4} ; quit -#IfWinActive - -#IfWinActive ahk_class CalcFrame ; windows 7 calc +#If WinActive("ahk_class SciCalc") or WinActive("ahk_class CalcFrame") ; windows xp or windows 7 calculator CapsLock::Send !{F4} ; quit #IfWinActive