Jump to content
Sign in to follow this  
Jat421

text file

Recommended Posts

Jat421

Hi,

I am new to autoit script.

Who to use FilePosition

Thanks!!

Edited by Jat421

Share this post


Link to post
Share on other sites
JohnOne

In order to get som proper help with your needs, you will need to post an example of the file, and its line deliminators.

Stringsplit, and its resulting arrays will most likely need to be utilized or maybe some other fancy _file function such as _FileReadToArray or something.

Try to get your code in order to the nearest working you got.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
enaiman

_FileReadToArray

_ArrayDelete element 0 and element 1

_FileWriteFromArray


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
JohnOne

untested

#include <File.au3>

$File = @ScriptDir & "\File.txt"
Do 
    ConsoleWrite(FileReadLine($File,1) & @CRLF)
    $n = _FileWriteToLine($File,1,"",1)
Until $n = 0

MsgBox(0,"","Complete")

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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.