I have problem with one application - keyboard is not active even when is excluded from some script definitions by #If WinActive.
But when is suspended script, it works - keyboard is active, to be correct - it is computer emulator.
I need to find a way how to make keyboard work, but don't want really suspend script for its separate functions in script.
So, Q is - how to suspend script when is window found and continue script when is windows closed / no exist?
I can start app by hotkey and after line of start, I placed suspend, so after start script is suspended, but it is possible to start by other ways.
It is not good solution - I need some defined keys and when is window not active want to use also other... simply: need active script - but how to do it?
I don't know if is not battle of AHK and application.
Hee is WindowSpy output
Code: Select all
Kernal64 1.4.5 b5 - 50fps - 100%
ahk_class SunAwtFrame
ahk_exe javaw.exe
Code: Select all
Kernal128 1.4.5 b5 - 51fps - 100%
ahk_class SunAwtFrame
ahk_exe javaw.exe
Thank you all.
Miro