• 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: Filemaker 8.5 stored applescript problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filemaker 8.5 stored applescript problem


  • Subject: Re: Filemaker 8.5 stored applescript problem
  • From: David Simerly <email@hidden>
  • Date: Mon, 14 May 2007 11:52:05 -0700
  • Thread-topic: Filemaker 8.5 stored applescript problem
  • Url: http://www.digital-native.com

Title: Re: Filemaker 8.5 stored applescript problem
On 5/13/07 7:37 PM, "Malcolm Fitzgerald" <email@hidden> wrote:

You are seeing a terminology conflict. Filemaker provides it's own
definition of READ and WRITE. You are trying to call standard additions
"read" command aren't you. The simplest, most unambiguous way to get
around the terminology conflict is to use raw codes.

Um no, I don’t think so. Try searching for the terminology “read” or “write” in FM’s dictionary and you’re not going to find anything. There are no read/write commands listed in the AppleEvents Reference database either. The reason the code is choking at the read is because one cannot pass a file reference or an alias directly to the read command. You must first initialize a file point with “open for access,” and then pass the file pointer to read, like so:

    set file_prt to open for access the path
    set file_data to read file_ptr until eof
    close file_ptr

HTH.

Best,
Dave
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Filemaker 8.5 stored applescript problem
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: Filemaker 8.5 stored applescript problem
      • From: James Nierodzik <email@hidden>
References: 
 >Re: Filemaker 8.5 stored applescript problem (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Load several webpages in succession
  • Next by Date: Re: Filemaker 8.5 stored applescript problem
  • Previous by thread: Re: Filemaker 8.5 stored applescript problem
  • Next by thread: Re: Filemaker 8.5 stored applescript problem
  • Index(es):
    • Date
    • Thread