ComfyUI Node
Folder File Read
フォルダ内のファイルを1つずつ読み込みます。実行のたびに次のファイルへ進みます
Folder File Read
- text
- file_name
- file_path_out
- file_index
- file_count
- is_last
◄folder_path►
◄modesequential►
◄resetfalse►
◄extension_filter.txt►
◄encodingauto►
◄sort_ordername_asc►
CategoryString Function
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | — | |
| modeopt | COMBO | sequential | 2 options: sequential, shuffle |
| resetopt | BOOLEAN | false | True を受けた実行でカウンタをリセットし先頭から再開する |
| extension_filteropt | STRING | .txt | 対象拡張子(カンマ区切り例: .txt,.md)。空白で全ファイル |
| encodingopt | COMBO | auto | 4 options: auto, utf-8, utf-8-sig, cp932 |
| sort_orderopt | COMBO | name_asc | sequential モード時のファイル順序 |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file_name | STRING | — |
| file_path_out | STRING | — |
| file_index | INT | — |
| file_count | INT | — |
| is_last | BOOLEAN | — |