====== Read text file ====== This action allows you to read a text file. ===== Standard parameters ===== ==== Input parameters ==== == File == The text file to read. ==== Output parameters ==== == Variable == The name of the variable where to store the text that has been read. ===== Advanced parameters ===== ==== Input parameters ==== == Mode == The file read mode. The read data can be: * the whole file content //(Read the entire file)// * a line interval //(Read a selection)// == Selection mode == the line interval to read. This parameter is only active if the //read a selection// mode is selected. Le first and the last line will always be read. To read only one line, write the same line number in both fields. ===== Exceptions ===== * [[en:actions:exceptions#Bad parameter|Bad parameter]] * [[en:actions:exceptions#Code error|Code error]] * [[en:actions:exceptions#timeout|Timeout]] * [[en:actions:actionreadtextfile#unable_to_read_file|Unable to read the file]] ==== Unable to read the file ==== This exception is thrown when the file cannot be read. * Default action: stop the script execution