Re: AppleScript Read file in Filemaker
Re: AppleScript Read file in Filemaker
- Subject: Re: AppleScript Read file in Filemaker
- From: Nigel Smith <email@hidden>
- Date: Wed, 18 Feb 2004 16:56:00 +0000
On 18/2/04 14:48, "Jim Marschke" <email@hidden> wrote:
>
I'm thinking something is wrong with the syntax of the line:
>
>
set theData to (read file theFIle from filePos to filePos + 30000)
>
>
I am hoping it can be improved or worked around.
FileMaker 6 has decided it owns the "read" keyword, rather than Standard
Additions (probably because of the access restriction keyword "read").
Quick way round is to redirect the command via a "tell..." block -- for
example, this AppleScript in a FileMaker ScriptMaker script step:
set theVar to cell "textField" of record 1
tell app "Finder"
set theString to (read file theVar)
end tell
set cell "returnField" of record 1 to theString
HTH,
Nigel
_______________________________________________
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.