rgthree / rgthree-comfy

Making ComfyUI more comfortable!
MIT License
980 stars 76 forks source link

[Feature Request] one button to ..... #171

Closed K-O-N-B closed 5 months ago

K-O-N-B commented 6 months ago

image one button to switch all to buttons to yes and no.

ghostsquad commented 6 months ago

this could be useful to solve #175

K-O-N-B commented 6 months ago

hello, you mean like this? I am not sure I understand your answer.....

image

ghostsquad commented 6 months ago

I found that if you first "collect" the nodes (using the Collector), then the output from the collector to a Fast Muter/Bypasser, and also to a Repeater. Connect the repeater to the same fast muter/bypasser, you can make a quick "all/none" toggle. Though I still think this functionality should be baked into the node.

image

rgthree commented 5 months ago

I do agree a toggle on the node itself could be useful and, in fact, I think there's a lot here I'm interested in making much more robust. But, until I get around to that, there is the "Fast Actions Button" that can be used right now to accomplish almost completely what's needed.

Screenshot 2024-03-28 211721

You can connect it to the muter/bypasser and have a one-button click to Mute/Bypass All, Enable All, or Toggle All. I say almost because you may need two Fast Actions Button node to achieve exactly what's expected (One to mute/bypass, one to enable). "Toggle" will work, but it toggle's each widget independently, so if one was "on" and the rest "off" then "Toggle" will switch it to that one as "off" and the rest as "on".

You can also define a shortcut key for the Actions Button too.