If the goal is simply to get the last line of a file, assuming you have the path to the file already in a variable, all you should need is
Code: Select all
put the last line of url("File:" & myFilePath) into myVariable
# this assumes you already have a routine to place the variable items into their respective fields