I have a script to capture the window using a hotkey in OBS and it works.
The problem is when the window name has the character ":", in this case OBS does not show the screen.
I am sending the command to OBS as follows:
local window_title = get_active_window_title()
local window_class =...