• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript Read file in Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AppleScript Read file in Filemaker
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: AppleScript Read file in Filemaker (From: Jim Marschke <email@hidden>)

  • Prev by Date: Re: TextEdit and Unicode
  • Next by Date: Re: UI Scripting Display's Resolution
  • Previous by thread: Re: AppleScript Read file in Filemaker
  • Next by thread: Re: AppleScript Read file in Filemaker
  • Index(es):
    • Date
    • Thread