I found this in another a posting by StefanK (http://macscripter.net/viewtopic.php?id=23789) and it is almost what I am looking for:
set s to "new line " repeat with i from 1 to 10 set ff to open for access file ((path to desktop as Unicode text) & "test_insert.txt") with write permission try set t to read ff on error set t to "" end try write (s & (i as text) & return & t) to ff starting at 0 close access ff end repeat
Unfortunately I only need to to add a line of text that is received from a User via a text box to the bottom of a file. Can someone modify this or provide other code to help me accomplish this task?
Thanks in advance,