Export a String into a .txt File

Hi, I write to you because a need to export a string or a sentence, from a text field in a .txt file, i didn’t find a function to make this posible :frowning:

Can you help me with this? Please. I’ll appreciate your help.


See system.file.writefile in the user manual. Example 2 should get you started. You would base this script on an event, such as clicking a button on a Window (on the button’s ActionPerformed event)

inductiveautomation.com/support/ … tefile.htm