Filemaker Plugin Template

There is a free Filemaker plugin template available here:

I want to modify it so that it will communicate with scriptable applications. It’s written in Codewarrior. Can this be opened in Project Builder/XCode? Where can I find out about getting C to pass data back and forth to applescript? I know FileMaker and applescript very well, but not C.