Jump to content
Sign in to follow this  

Reading/Writing to txt file (basic)

Recommended Posts


Read/Write to text file

I have an input box on a basic GUI

I want to be able to write in it, and then hit my 'save' button , and have it write to a *.txt file.

Which function should I be using? Steer me in the right direction?


Share this post

Link to post
Share on other sites

GUICtrlRead to read your input box

FileOpen to open the text file (mode: 1 to write, 2 to create)

FileWriteLine or FileWrite to write the content

FileClose to close the file

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.