I want to copy a txt file called message.txt that says “I like cars” to the variable fileContents but it only copies “I” to the variable heres the code
set theFile to "~/Library/Application Support/JARVIS/ServerData/message.txt"
tell application "Finder"
set unixPath to "/Library/Application Support/JARVIS/ServerData/message.txt"
set foo to (open for access (POSIX file "/Library/Application Support/JARVIS/ServerData/message.txt"))
set fileContents to (read foo)
close access foo
Any help is appreciated