applescript and filemaker pro/field access
To anybody that can help.
I am attempting to get applescript pull some data from Filemaker Pro 11.
Specifically, I am trying to get data from a known field "PackitName"
I don't get any errors, yet, I do not get any data either. The result is empty as is told by by the display dialog step.
The Database is already open, active and to the correct layout and correct record (short cuts for now). (If I don't have the database open, or active) I do get an error.
So, my script sees the field/cell just does not pull data from it.
I will work the nuances of the opening the database/ finding the correct record later.
Thank you dearly for any help!
Chris
property the_path : "/Users/chrislund/Dropbox/~BBC/IDG Jobs"
set the_folder to (POSIX filethe_path) as alias
tell application "Finder"
activateif front Finder windowexists then
set target of front Finder window to the_folder
else
openthe_folderend if
end tell
tell application "FileMaker Pro"
activateset JobName to (get cellValue of cell "PackitName")
end tell
display dialogJobName
tell application "Finder"
makenewfolderatthe_folderwith properties {name:JobName}end tell
iMac (27-inch Mid 2011), OS X Mountain Lion (10.8.5), FileMaker Pro 11