Seek

09/11/2013 20:16 maches#1
Hello
Could anyone help me how I can do seek in AutoIT?

In delphi I have
Seek(F, FileSize(F) - SizeOf(i));


but how I can write it in AutoIT?;/ AutoIT don't have function seek.
09/11/2013 20:58 alpines#2
It seems that this function doesn't exist in AutoIt, if you can describe it well then maybe some users could create you a function.
09/12/2013 03:28 Requi#3
Quote:
Originally Posted by alpines View Post
It seems that this function doesn't exist in AutoIt, if you can describe it well then maybe some users could create you a function.
[Only registered and activated users can see links. Click Here To Register...]

The Seek procedure moves the current record position in an open binary file given by FileHandle to a new position RecordNumber.

The file must have been assigned with AssignFile and opened with Reset or ReWrite.

For untyped files, the record size is set with the Reset or ReWrite routine used.

For typed files, the record size is SizeOf the file type.

The first record in a file is record 0.
09/12/2013 14:25 butter123#4
[Only registered and activated users can see links. Click Here To Register...]
and
[Only registered and activated users can see links. Click Here To Register...]
if i understood the seek function correct.