Fwd: puzzled with script syntax error
Fwd: puzzled with script syntax error
- Subject: Fwd: puzzled with script syntax error
- From: Lui <email@hidden>
- Date: Wed, 26 Jun 2002 17:36:17 -0700 (PDT)
Thank you everyone for your help. It works! ;-)
--- Lui <email@hidden> wrote:
>
Date: Wed, 26 Jun 2002 12:39:04 -0700 (PDT)
>
From: Lui <email@hidden>
>
Subject: puzzled with script syntax error
>
To: email@hidden
>
>
I am puzzled at what's going on...
>
>
I am trying to read a file from disk and put its
>
content into a FileMaker Pro database. But I get an
>
error on the syntex and have no idea what is wrong.
>
Please help!
>
>
Chunk of Script:
>
>
set fileRef to alias "Macintosh HD:
>
Users:sharon:file1.txt"
>
open for access fileRef
>
set _result to (read fileRef)
>
close access fileRef
>
>
When trying to save the script in FileMaker's
>
'Specify
>
Applescript' window, I get error:
>
'Expected ", " but found ideentifier. (Error
>
-2741).'
>
with the word 'fileRef' in '(read fileRef)'
>
highlighted.
>
>
Thanks in advance,
>
Sharon
>
Yahoo! - Official partner of 2002 FIFA World Cup
>
http://fifaworldcup.yahoo.com
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.