I’m trying to refresh window 1 in Filemaker through an Applescript that is within a Filemaker script.
I have an applescript that has a repeat in it. I want the Filemaker window to refresh after every new record created within that applescript repeat. I have tried to use "do script “Refresh”, where “Refresh” is a script that does the script step “Refresh Window” but no luck there. Below is the part of the script that I’m working on…
Help?
Thanks in advance!
Martha
tell application "FileMaker Pro 8"
tell window 1
set newRec to the ID of (create new record)
go to record ID newRec
set cell "TheName" of current record to theName
set cell "TheContent" of current record to theContents
save record
do script "Refresh" --Here's where I need the Filemaker window to Refresh
end tell
end tell