block capture hotkey while IDE is running a script