MACSCRPT Archives

March 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Steele <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 29 Mar 2006 13:07:31 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
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]

ATOM RSS1 RSS2