I want to read a text file and put the contents into a field in Filemaker.
I have a working applescript (script editor):
set Mail to "Macintosh HD:Users:Amelie:Documents:Heron:DB:BronDocumenten:Mail:MailBwhr11.txt"
set MailTekst to read posix fileMail as text
But, Filemaker doesn't accept the script (perform applescript). It says: expected a line end but found an identifier and the word file is highlighted (translated from dutch, so there could be some errors in)
What could be wrong?
Thank in advance