• 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
Pulling Data from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pulling Data from AppleScript


  • Subject: Pulling Data from AppleScript
  • From: Jon Rosen <email@hidden>
  • Date: Tue, 15 Dec 2015 11:37:15 -0800

It has been a little while since I’ve done serious scripting with FileMaker from AppleScript, but things don’t seem to be working properly under El Capitan.

The following code is a simple example of trying to read data:

tell application "FileMaker Pro Advanced"
tell database “ABCDE"
tell table “REQ__Requests__Request_Items"
— This next step works fine
set myCellR to get data cell "Request_Item_No" of record 2562
— This step gives me an “Invalid Object Reference” error
set myCell to get (cell "Col3" of every record whose cell "Request_Item_No" = "51387”)
— Even this fails
set myCell to get data cell "Col3" of current record
end tell
end tell
end tell

My ultimate goal is to write some data back to specific records, but I can’t even specify the record to read the data. Has there been some change in the syntax of specifying a record? 

Thanks,

Jon
 _______________________________________________
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: Pulling Data from AppleScript
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: AS Library Question
  • Next by Date: Re: Pulling Data from AppleScript
  • Previous by thread: Re: [ANN] CalendarLib, improved Calendar scripting
  • Next by thread: Re: Pulling Data from AppleScript
  • Index(es):
    • Date
    • Thread