DirectoryIterator

MacroModule
genre FileMain
author Daniel Romberg
package FMEstable/ReleaseMeVis
definition DirectoryIterator.def
keywords walk, iterate, path, scan, recursive, file, folder

Windows

Default Panel

../../../Projects/DirectoryIterator/Modules/mhelp/Images/Screenshots/DirectoryIterator._default.png

Parameter Fields

Field Index

[ trigger for each path that is set above ]: Trigger Reset: Trigger
All At Once: Trigger Status: Enum
Current Path: String  
Input Path: String  
Message: String  
Mode: Enum  
Next: Trigger  
Recursive: Bool  

Visible Fields

Input Path

name: inputPath, type: String

The input path to iterate over

Mode

name: mode, type: Enum, default: Files

Option whether to iterate over files, folders or both

Values:

Title Name
Files Files
Directories Directories
Files and Directories FilesAndDirectories

Recursive

name: recursive, type: Bool, default: FALSE

Flag whether to recursively scan the directory

Current Path

name: currentPath, type: String, persistent: no

The path of the current iteration

[ trigger for each path that is set above ]

name: iterationDone, type: Trigger, persistent: no

Trigger that is touched for each iteration after the path is set

Message

name: statusMessage, type: String, persistent: no

A status message indicating current state

Status

name: status, type: Enum, persistent: no

A status code indicating the current state

Values:

Title Name
Finished Finished
Iterating Iterating
Failure Failure

All At Once

name: allAtOnce, type: Trigger

Calculates all paths which is the same as pressing next until the iteration is finished

Reset

name: reset, type: Trigger

Resets the iteration to the beginning