In Applescript, this of course works fine:

set filePath to "disk:folder:file"
set f to (open for access file filePath with write permission)
write theText to f
close access f

But in Filemaker 8's "Perform Applescript" function this gives an 
error "Expected end of line but found identifier" with theText 
highlighted.

Seems especially stupid to let me open a file but not write to it. 
What's going on here?
-- 

Bill Steele
[log in to unmask]