myFile.seek( pos, mode ) in Photoshop DOM

Seek to a location in the file.

Arguments

nametypedescription
pos Number The position in the file to se
mode Number 0=seek to absolute position; 1
Return Type
Boolean

Description

This method does not permit seeking to positions less than 0 or greater than the current file size.

Returns true if the position was changed.