Jump to content
Sign in to follow this  
SwordHunter4Ever

Read a notepad file and paste what it found?

Recommended Posts

SwordHunter4Ever

I need an autoit code that can read a notepad (.txt) file and copy what it finds, then paste it into a text field. Is there anything that can do this?

Share this post


Link to post
Share on other sites
BinaryBrother

Take a look at the following function in the help file.

FileRead()

FileReadLine()

Now, what sort of text field are you talking about?

Share this post


Link to post
Share on other sites
CodyBarrett

try this or something like it

$X = Fileread ('Filename', PARAM )
Guictrlsetdata ($EDITBOX, $X)

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  

×