ComfyUI Node

Folder File Read

フォルダ内のファイルを1つずつ読み込みます。実行のたびに次のファイルへ進みます

By TakkunRed·Created 4 months ago·Updated 3 months ago· 0
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)

    NameTypeDefaultDescription
    folder_pathSTRING
    modeoptCOMBOsequential2 options: sequential, shuffle
    resetoptBOOLEANfalseTrue を受けた実行でカウンタをリセットし先頭から再開する
    extension_filteroptSTRING.txt対象拡張子(カンマ区切り例: .txt,.md)。空白で全ファイル
    encodingoptCOMBOauto4 options: auto, utf-8, utf-8-sig, cp932
    sort_orderoptCOMBOname_ascsequential モード時のファイル順序

    Outputs (6)

    NameTypeDescription
    textSTRING
    file_nameSTRING
    file_path_outSTRING
    file_indexINT
    file_countINT
    is_lastBOOLEAN