Windows 10 x64 SL Home
Simple Autohotkey script:
Code: Select all
#NoEnv
#NoTrayIcon
#SingleInstance force
PostMessage, 0x433, 492,,, ahk_class TTOTAL_CMD
WinWait, ahk_class TDLGCONFIGALL
SendMessage, 0x201,,, TButton3, ahk_class TDLGCONFIGALL
SendMessage, 0x202,,, TButton3, ahk_class TDLGCONFIGALL
WinWait, ahk_class #32770
WinGet, hw_TTOTAL_32770, ID, A
SendMessage, 0x201,,, Button5, % "ahk_id " hw_TTOTAL_32770
SendMessage, 0x202,,, Button5, % "ahk_id " hw_TTOTAL_32770
ExitApp
Something strange happens when "Font" window appears.
Unexpected very long pause.
Why script can detect Configuration window quickly and stuck at Font window?
My first suspection was in ahk_class #32770 (most common class in different programs)...
But after replacing:
Code: Select all
WinWait, ahk_class #32770
WinGet, hw_TTOTAL_32770, ID, A
SendMessage, 0x201,,, Button5, % "ahk_id " hw_TTOTAL_32770
SendMessage, 0x202,,, Button5, % "ahk_id " hw_TTOTAL_32770
Code: Select all
Sleep, 100
SendMessage, 0x201,,, Button5, A
SendMessage, 0x202,,, Button5, A
Any ideas how make window more responsive?