Create file in javascript with Ui.Vision RPA


I would like to receive an example of a JavaScript code block, to integrate into a Ui.Vision RPA workflow, that creates a file named “toto.txt” with the content “blablabla” and then downloads this file to my PC.

You can create a CSV file with only one cell. That is then like a text file :wink:
Just note that the file extension is still .csv and not .txt:

  "Name": "blabla",
  "CreationDate": "2024-6-25",
  "Commands": [
      "Command": "store",
      "Target": "blabla",
      "Value": "!csvline",
      "Description": ""
      "Command": "csvSave",
      "Target": "todo",
      "Value": "",
      "Description": ""
1 Like