SceneSwitcher icon indicating copy to clipboard operation
SceneSwitcher copied to clipboard

Scene item visibility, allow showing/hiding all sources in group.

Open Renari opened this issue 1 year ago • 6 comments

Background

I'm recording doing dev work and was looking for something that would automatically switch window focus in OBS when I alt-tab.

I've accomplished that via a macro like this: image

This works well, but requires editing every one of these macros to adjust the index when sources are moved around.

Solution

It would be nice if you could set this to hide all sources in a group, thus being able to target many sources but without needing the index, possibly an option to also target the group directly as well (although I wouldn't need this).

Alternatives

image I've tried doing a name match on a group category, thus matching everything inside of it, but this doesn't appear to work.

Anything else we should know?

No response

Renari avatar Aug 28 '24 06:08 Renari

It would be nice if you could set this to hide all sources in a group, thus being able to target many sources but without needing the index, possibly an option to also target the group directly as well (although I wouldn't need this).

I will look into it! Just to clarify: You specifically want to target all items within a source group and but not the source group itself, right?

Targeting the source group itself should already be possible: Example

WarmUpTill avatar Aug 28 '24 09:08 WarmUpTill

I think I got a first version working:

Example

A build with this feature will be available here in a few minutes: https://github.com/WarmUpTill/SceneSwitcher/actions/runs/10593886970

Let me know if this roughly what you had in mind or if I misunderstood your request :)

WarmUpTill avatar Aug 28 '24 09:08 WarmUpTill

Just to clarify: You specifically want to target all items within a source group and but not the source group itself, right?

That is correct, this was exactly what I wanted.

Renari avatar Aug 28 '24 12:08 Renari

Just tested the build out, works great.

❤️

Renari avatar Aug 28 '24 12:08 Renari

Should probably let the PR automatically close this once it's merged.

Renari avatar Aug 28 '24 12:08 Renari

Thanks for testing it and letting me know! :)

WarmUpTill avatar Aug 28 '24 18:08 WarmUpTill