Just wondering how to you create a new line in a new text file that is opened via Applescript…
for example, I want to write the following list to a new file with each item written on a new line:
set mylist to {“aa”, “bb”, cc"}
set mynewfile to open for write access “newfile.txt” with write permission
set i to 1
repeat 3 times
write item i of mylist to mynewfile
(WHAT IS THE CODE I NEED TO INSERT HERE TO CREATE A NEW LINE)
set i to i + 1
end repeat
close access mynewfile