How to get focused window title?

Hello, I want to implement hotkey that
don't interfere when I try to load a file,
so basically I want to make this macro
group disabled when load file dialog appears(its title
is "Select a file to load"),
I choose the focused window exist and does not contain Select a file to load in the macro group,
but it seemed not working,
so I want to debug,
do I have a way to debug it?
It maybe when the dialog pops up, it still not focused? Or title problem?

try adding Assert

can you share your macro, so people can give a better suggestion

1 Like