ComfyUI Node
Text Index Switch 3
Select one of up to 20 text inputs based on an index. Use slot_count to add/remove slots. Also outputs the label of the selected input. Label behavior: • If a node is connected to the input: label = connected node's title • If no node is connected: label = first line of the text input (first line is removed from text output)
Text Index Switch 3
- text
- label
- index
◄index1►
◄slot_count2►
◄text1Slot 1►
◄text2Slot 2►
◄text3Slot 3►
◄text4Slot 4►
◄text5Slot 5►
◄text6Slot 6►
◄text7Slot 7►
◄text8Slot 8►
◄text9Slot 9►
◄text10Slot 10►
◄text11Slot 11►
◄text12Slot 12►
◄text13Slot 13►
◄text14Slot 14►
◄text15Slot 15►
◄text16Slot 16►
◄text17Slot 17►
◄text18Slot 18►
◄text19Slot 19►
◄text20Slot 20►
CategoryAUN Nodes/Text
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| index | INT | 11–20 | Selects which text input to output. |
| slot_count | INT | 21–20 | Number of visible text slots |
| text1 | STRING | Slot 1 | — |
| text2 | STRING | Slot 2 | — |
| text3 | STRING | Slot 3 | — |
| text4 | STRING | Slot 4 | — |
| text5 | STRING | Slot 5 | — |
| text6 | STRING | Slot 6 | — |
| text7 | STRING | Slot 7 | — |
| text8 | STRING | Slot 8 | — |
| text9 | STRING | Slot 9 | — |
| text10 | STRING | Slot 10 | — |
| text11 | STRING | Slot 11 | — |
| text12 | STRING | Slot 12 | — |
| text13 | STRING | Slot 13 | — |
| text14 | STRING | Slot 14 | — |
| text15 | STRING | Slot 15 | — |
| text16 | STRING | Slot 16 | — |
| text17 | STRING | Slot 17 | — |
| text18 | STRING | Slot 18 | — |
| text19 | STRING | Slot 19 | — |
| text20 | STRING | Slot 20 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| label | STRING | — |
| index | INT | — |