# enumerating over the scenes. As a result, the user will have to type in the scene name. # However, for multiple scene selection, that is probably the only possible way.
def obs_set_current_scene(scene): scene_t = obs.obs_get_scene_by_name(scene) source_t = obs.obs_scene_get_source(scene_t) obs.obs_frontend_set_current_scene(source_t ...