Quote:
When using $read, you can specify which line you want to read by using $read(<filename>,<line_number>)
Using $read(<filename>) will read a random line from the file, not necessarily the first.
You can use $lines(<filename>) to return the total number of lines in the file.

i tried $read("C:\Program Files\iTunes\CurrentTrack.txt", 2)
and it gives no result :S
when i do:
$read("C:\Program Files\iTunes\CurrentTrack.txt", 1)
it says "P" and when i stop the song it says "S" (the first caracters of the first line, play or stop)
what am i doing wrong? blush