Files Handling

Write Text File

Activity writes contents of a String variable into a text file.

write1
write2

Fill in File path with path to the file you want to write to from Content variable.

Check Overwrite Existing File to overwrite a preexisting file.

Choose the right Encoding for the file from list. ANSI supports Polish special characters.

NameTypeCategoryDescription
ContentStringInputvariable that stores text to save
EncodingDropdownInputselect type of encoding from the dropdown list
File PathStringInputdirectory path to a file (file name and extension included)
Overwrite Existing FileBooleanInputcheckbox; default is "off"
Alternative Scenario If FailedBooleanMisccheckbox; default is "on"
Display NameLiteralMiscchanges display name of the activity
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info
FullscreenBooleanScreenshotcheckbox; default is "off"
Screenshot PathStringScreenshotdirectory path to save location
Show CursorBooleanScreenshotcheckbox; default is "off"
Window ScreenshotsBooleanScreenshotcheckbox; default is "off"