iRobo.Activity.Read Files
Reads files names in a specified directory.
Properties
Input
- SearchDirectory - Directory path. (Mandatory)
- SearchType - Select search type; in all directories or current directory.
Misc
- DisplayName - Activity header name.
- Show Output - mark check box to show output of the file names or not.
Output
- FilePaths - Return List of String of the founded file names. (Mandatory)
Steps of Using Read Files
- Open iRobo Studio, and then open a new Workflow.
- Drag Read Files Activity to the Sequence.
- Enter Directory path where the search process occurs in SearchDirectory field in Property Panel.
- Select SearchType field in Property Panel.
- Mark Show Output checkbox to allow the Activity to return the results.
- Create Result List of String Variable in Variable Table to return the search result as shown in the image below. Then, add it to FilePaths in Property Panel.
- Drag Message Box Activity to the Sequence.
- Add Result Variable to Message Box Activity Input in Properties Panel.
- Click Save button from iRobo Studio Menu to save Workflow.
- Click Play button to start the automated process, a message box appears with a list of file names in the specified directory.
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator