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

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Read Files Activity to the Sequence.
  3. Enter Directory path where the search process occurs in SearchDirectory field in Property Panel.
  4. Select SearchType field in Property Panel.
  5. Mark Show Output checkbox to allow the Activity to return the results.
  6. 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.

  1. Drag Message Box Activity to the Sequence.
  2. Add Result Variable to Message Box Activity Input in Properties Panel.
  3. Click Save button from iRobo Studio Menu to save Workflow.
  4. 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