scripting FMP 7

I have an applescript for FMP 6 that pulls information from two cells in FMP and passes that information to iCal and creates a calendar event. I recently converted the solution to FMP 7 and have been working with the following script but can’t seem to get it to work.

tell application “FileMaker Developer”
tell document “Contacts”
tell table “Global”
copy cell “t iCal preference” of current record to calendarVariable
end tell
tell database “Contacts”
copy cell “c full name” of current record to summaryVariable
end tell
end tell
end tell

tell application “iCal”
set cal_ to first calendar whose title = calendarVariable
set new_event to make event at end of events of cal_ with properties {summary:summaryVariable}
tell new_event
make display alarm at beginning of display alarms with properties {trigger interval:-60}
make new attendee at beginning of attendees with properties {display name:“Owner”, email:""}
show new_event
end tell
end tell

Any help would be appreciated.

Terry W Grosenheider


I’m planning to upgrade over the weekend so I got this reference

Might be useful?