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 = get_active_window_class()
obs.obs_data_set_string(data, 'window', window_title .. ':' .. window_class .. ': ')
Does anyone know a way to make this work when it has the ":" character?
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 = get_active_window_class()
obs.obs_data_set_string(data, 'window', window_title .. ':' .. window_class .. ': ')
Does anyone know a way to make this work when it has the ":" character?