I am trying to use applescript with filemaker pro and I am stuck on something that should be quite simple.
I just want to set a variable to the data in a cell.
tell application "FileMaker Pro Advanced"
tell document "test"
go to layout "testlayout"
set var_ to cell "Duration"
I Definitely have a field named "Duration"
The script goes to the layout, but then gives me an error
"error "FileMaker Pro Advanced got an error: Object not found." number -1728 from cell "Duration" of document "test"
I have tried to access the data of other fields and some work and others dont.
Also if I repeat thru the records in the layout of fields that do work I get thru some of the records but then fail on a particular record.
just figured it out.
I was looking at the table view and seeing "Duration"
but "duration" was not in my form view.